# CVE-2021-24686: SVG Support < 2.3.20 - Admin+ Stored Cross-Site Scripting

- Severity: Medium 4.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-02-01T12:21:19.000Z
- Modified: 2026-06-17T03:40:27.343Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- benbodhi svg_support: before 2.3.20

## Every score

- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://wpscan.com/vulnerability/38018695-901d-48d9-b39a-7c00df7f0a4b> (exploit, third-party-advisory)
- <https://plugins.trac.wordpress.org/changeset/2651929> (patch, third-party-advisory)

## Sources

- CVE List: [CVE-2021-24686](https://www.cve.org/CVERecord?id=CVE-2021-24686), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-24686](https://nvd.nist.gov/vuln/detail/CVE-2021-24686), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-24686 · Whole record: https://cve.day/CVE-2021-24686.json · Rebuilt by cve.day 2026-11-25T22:58:06.735Z
