CVE-2022-2299 Allow SVG Files <= 1.1 - Author+ Stored Cross Site Scripting via SVG
Authors can upload malicious SVG files to execute arbitrary scripts in the context of other users' browsers.
- 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-2022-2299?
CVE-2022-2299 is a medium-severity cross-site scripting vulnerability in Unknown Allow svg files, published on 25 Jul 2022. 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 Allow SVG Files WordPress plugin through 1.1 does not sanitise uploaded SVG files, which could allow users with a role as low as Author to upload a malicious SVG containing XSS payloads
Weakness: CWE-79
Which versions are affected by CVE-2022-2299?
It affects 1 product.
Products include Allow Svg Files Project Allow Svg Files.
How do I fix CVE-2022-2299?
No fix has been published for CVE-2022-2299 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-2022-2299 being exploited?
There is no known exploitation of CVE-2022-2299 in the wild and no public exploit code.
Other vulnerabilities in Unknown Allow svg files
Sources
Also known as GHSA-3mrv-3jj9-w487.