CVE-2024-12047: The WP Compress – Instant Performance & Speed Optimization plugin for WordPress is vulnerable to Reflected Cro
CVE-2024-12047 is a medium-severity flaw (CVSS 6.1) affecting wp compress. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The WP Compress – Instant Performance & Speed Optimization plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘custom_server’ parameter in all versions up to, and including, 6.30.03 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as cli
Why this priority
- No elevated risk signals yet
A fixed release or distro patch exists.
Risk facts
| CVSS score | 6.1 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | Required |
| EPSS exploit chance | 0.4% (top 69%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2025-01-04 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-12047?
wp compress: upgrade to 6.30.04. Exact commands for each OS are on this page.
Is CVE-2024-12047 being exploited?
CVE-2024-12047 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-12047 affect?
CVE-2024-12047 affects wp compress. Severity is medium (CVSS 6.1). The WP Compress – Instant Performance & Speed Optimization plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the ‘custom_server’ parameter in all versions up to, and including, 6.30.03 due to insufficient input saniti
How urgent is CVE-2024-12047?
Priority 29/100. No elevated risk signals yet.
Software pages
Related CVEs
- CVE-2025-47546 HIGH 7.1 UPGRADE Cross-Site Request Forgery (CSRF) vulnerability in AresIT WP Compress wp-compress-image-optimizer allows Cross
- CVE-2025-2110 HIGH 8.8 UPGRADE The WP Compress – Instant Performance & Speed Optimization plugin for WordPress is vulnerable to unauthorized
- CVE-2025-2109 MEDIUM 5.8 UPGRADE The WP Compress – Instant Performance & Speed Optimization plugin for WordPress is vulnerable to Server-Side R
- CVE-2024-47384 HIGH 7.1 UPGRADE Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in AresIT W