CVE-2025-4579 WP Content Security Plugin <= 2.3 - Unauthenticated Stored Cross-Site Scripting via CSP-Report Fields
Unauthenticated attackers can inject arbitrary web scripts via CSP-Report fields in the WP Content Security Plugin, leading to stored XSS.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-4579?
CVE-2025-4579 is a high-severity cross-site scripting vulnerability in dyland WP Content Security Plugin, published on 15 May 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The WP Content Security Plugin plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the blocked-uri and effective-directive parameters in all versions up to, and including, 2.3 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
Weakness: CWE-79
Which versions are affected by CVE-2025-4579?
How do I fix CVE-2025-4579?
No fix has been published for CVE-2025-4579 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-2025-4579 being exploited?
There is no known exploitation of CVE-2025-4579 in the wild and no public exploit code.
Sources
Also known as GHSA-j75p-7hp3-3p63.