CVE-2021-24637 Fonts Plugin < 3.0.3 - Contributor+ Stored Cross-Site Scripting
Contributors can inject malicious scripts via unescaped block settings in the Google Fonts Typography plugin, leading to stored XSS.
- 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-24637?
CVE-2021-24637 is a medium-severity cross-site scripting vulnerability in Unknown Fonts Plugin | Google Fonts Typography, published on 20 Sep 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
The Google Fonts Typography WordPress plugin before 3.0.3 does not escape and sanitise some of its block settings, allowing users with as role as low as Contributor to perform Stored Cross-Site Scripting attacks via blockType (combined with content), align, color, variant and fontID argument of a Gutenberg block.
Weakness: CWE-79
Which versions are affected by CVE-2021-24637?
It affects 1 product.
Products include Fontsplugin Fonts.
How do I fix CVE-2021-24637?
No fix has been published for CVE-2021-24637 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-24637 being exploited?
There is no known exploitation of CVE-2021-24637 in the wild and no public exploit code.
Other vulnerabilities in Unknown Fonts Plugin | Google Fonts Typography
Sources
Also known as GHSA-x8c7-9c7c-54qw.