CVE-2023-6541 Allow SVG < 1.2.0 - Author+ Stored XSS via SVG
An attacker with Author role can upload malicious SVG files to execute stored XSS payloads in the Allow SVG WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2023-6541?
CVE-2023-6541 is a medium-severity cross-site scripting vulnerability in Unknown Allow SVG, published on 15 May 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
The Allow SVG WordPress plugin before 1.2.0 does not sanitize 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-2023-6541?
It affects 1 product.
Products include Wphelpline Allow Svg.
How do I fix CVE-2023-6541?
No fix has been published for CVE-2023-6541 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-2023-6541 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-6541 exists.
Sources
Also known as GHSA-rf8c-553r-qgf7.