Apple issued a fix for the vulnerability. But it’s best to disable screen sharing when not actively using it.
Source: [CNET](https://www.cnet.com/tech/services-and-software/attackers-could-take-over-your-mac-through-screen-sharing-unless-you-update-now/)