CVE-2021-24686 SVG Support < 2.3.20 - Admin+ Stored Cross-Site Scripting
High-privilege users can inject malicious scripts via the CSS Class setting in the SVG Support plugin, leading to stored XSS.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24686?
CVE-2021-24686 is a medium-severity cross-site scripting vulnerability in n/a, published on 1 Feb 2022. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The SVG Support WordPress plugin before 2.3.20 does not escape the "CSS Class to target" setting before outputting it in an attribute, which could allow high privilege users to perform Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed.
Weakness: CWE-79
Which versions are affected by CVE-2021-24686?
It affects 1 product.
Products include Benbodhi Svg Support.
How do I fix CVE-2021-24686?
No fix has been published for CVE-2021-24686 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-24686 being exploited?
There is no known exploitation of CVE-2021-24686 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as GHSA-pc73-hr4r-f674.