CVE-2021-33850 Cross-site scripting in Microsoft Clarity

Medium 5.4 Published Updated

Attackers can inject malicious scripts into Microsoft Clarity configuration pages, potentially executing code in victim browsers.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2021-33850?

CVE-2021-33850 is a medium-severity cross-site scripting vulnerability in Microsoft Clarity, published on 19 Nov 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

There is a Cross-Site Scripting vulnerability in Microsoft Clarity version 0.3. The XSS payload executes whenever the user changes the clarity configuration in Microsoft Clarity version 0.3. The payload is stored on the configuring project Id page.

Weakness: CWE-79

Which versions are affected by CVE-2021-33850?

It affects 1 product.

Products include Microsoft Clarity.

How do I fix CVE-2021-33850?

No fix has been published for CVE-2021-33850 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2021-33850 being exploited?

There is no known exploitation of CVE-2021-33850 in the wild and no public exploit code.

Sources

Also known as GHSA-966j-fwrw-4gxw.

Is CVE-2021-33850 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free