# CVE-2021-24386: WP SVG Images < 3.4 - Authenticated (author+) Stored XSS via SVG

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/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.66%, higher than 52% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-07-06T11:03:28.000Z
- Modified: 2026-06-17T03:39:56.490Z
- Weaknesses: CWE-79
- Assigned by: WPScan

## Description

The WP SVG images WordPress plugin before 3.4 did not sanitise the SVG files uploaded, which could allow low privilege users such as author+ to upload a malicious SVG and then perform XSS attacks by inducing another user to access the file directly. In v3.4, the plugin restricted such upload to editors and admin, with an option to also allow author to do so. The description of the plugin has also been updated with a security warning as upload of such content is intended.

(As written by CVE List.)

## Affected

- KubiQ WP SVG images: from 3.4 before 3.4
- kubiq wp_svg_images: before 3.4

## Every score

- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/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/e9b48b19-14cc-41ad-a029-f7f9ae236e4e> (exploit, third-party-advisory)

## Sources

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

---

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