Double-edged sword

Meaning: Something that has both advantages and disadvantages.

Example: Social media can be a double-edged sword for businesses.