Dermatomyositis is a rare autoimmune disorder that affects the skin and muscles. It is characterized by muscle weakness, skin rashes, and inflammation. The exact cause of dermatomyositis is unknown, but it is thought to be related to a malfunctioning immune system.