Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify WordPress site with WP Compress < 7.10.04
-
DeliveryCraft URL with malicious CDN host query parameter
-
ExploitDeliver crafted link to victim via phishing or social engineering
-
ExecutionVictim clicks link; plugin emits attacker-controlled script tags
-
PersistAttacker's JavaScript executes in victim's browser session
-
ImpactExfiltrate session tokens or perform admin actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | WP Compress plugin (version before 7.10.04) must be installed and active on the target WordPress site. The specific vulnerable condition is that the plugin's asset loader processes a query parameter specifying the CDN host and uses its value without validation to construct script src attributes emitted into the page response. Active user interaction is required: the victim must follow a crafted link containing the malicious CDN host value (UI:R per CVSS). No authentication is required of the attacker or victim - any site visitor can be targeted. Exploitation is limited by the mandatory user interaction, preventing automated or mass exploitation per SSVC 'Automatable: no'. No special server-side configuration beyond plugin activation is required. The highest-impact scenario involves targeting a logged-in WordPress administrator, as their session context grants elevated privileges. |
| Impact | The CVSS 6.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N) accurately reflects the attack profile: network-reachable with no authentication or privilege required, low complexity, but requiring a victim to click a crafted link (UI:R), with cross-site scope change and limited confidentiality and integrity impact. EPSS at 0.20% (11th percentile) indicates that despite public POC availability, mass exploitation has not been observed, which is consistent with SSVC's 'Automatable: no' - the mandatory user interaction prevents bulk targeting. No CISA KEV listing confirms no confirmed widespread exploitation. The realistic threat is a targeted social-engineering campaign against WordPress administrators, whose session tokens would grant the attacker elevated site privileges. The non-automatable nature and UI dependency substantially reduce broad-based risk compared to the raw CVSS score might suggest, but WordPress plugin XSS against admins has historically been a reliable lateral-movement vector in site takeover chains. |
| Exploit ScenarioDerived | An attacker identifies a WordPress site running WP Compress prior to 7.10.04 and crafts a URL embedding a malicious value for the CDN host query parameter pointing to an attacker-controlled domain. The attacker distributes this link via phishing email or social media targeting the site's visitors or administrators; when the victim clicks the link, the plugin renders script tags sourcing JavaScript from the attacker's server, which executes in the victim's browser within the WordPress site's security context, enabling session token theft or admin-action hijacking. A publicly available proof-of-concept exists, lowering the bar for exploitation. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
Reflected XSS in WP Compress WordPress plugin (versions before 7.10.04) allows unauthenticated remote attackers to execute arbitrary JavaScript in a victim's browser by crafting a malicious link that injects the attacker's domain as the CDN host for script assets. The plugin's loader emits script elements pointing to the attacker-controlled origin without sanitizing the CDN host query parameter, achieving cross-site scope execution within the target WordPress site. Publicly available exploit code exists per WPScan reporting; no active exploitation is confirmed in CISA KEV, and EPSS is low at 0.20% (11th percentile), consistent with SSVC's 'poc, non-automatable, partial impact' classification.
RemediationAI
Update WP Compress to version 7.10.04 or later, which resolves the unvalidated CDN host parameter; this is a vendor-released patch confirmed by the WPScan advisory at https://wpscan.com/vulnerability/133e2ca0-8cde-4b59-b680-0ddf95004625/. If immediate patching is not possible, disable or deactivate the WP Compress plugin entirely until the update can be applied - this eliminates the attack surface at the cost of CDN-accelerated asset delivery. Alternatively, a WAF rule blocking or stripping the vulnerable CDN host query parameter from inbound requests provides a partial compensating control, but may break legitimate CDN rewriting functionality and is not a substitute for patching. Restricting plugin management to trusted admin accounts reduces the blast radius if a victim is targeted while authenticated.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
WP Compress is a WordPress performance optimization plugin that offloads static asset delivery to a CDN. The vulnerability arises in its asset loader, which reads a query parameter specifying the CDN host and uses it verbatim to construct the src attributes of script elements emitted into the page DOM. CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-site Scripting) identifies the root cause: unsanitized user-supplied input flowing into HTML output. Because the injected scripts load from a fully attacker-controlled origin rather than embedding inline JavaScript, the attack bypasses common inline-script defenses and causes the victim's browser to fetch and execute arbitrary code from the attacker's server. The CPE identifier cpe:2.3:a:unknown:wp_compress:*:*:*:*:*:*:*:* covers all versions prior to 7.10.04; the vendor field is listed as 'unknown' in official NVD CPE data, indicating incomplete vendor normalization.
Know when Wp Compress gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Reflected XSS requires victim to follow a crafted link (UI:R), achieves cross-site scope via browser script injection (S:C), with limited C/I impact and no availability impact consistent with XSS.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
3DescriptionCVE.org
The WP Compress WordPress plugin before 7.10.04 does not validate the value of a query parameter that controls the asset CDN host before using it to build the URLs of JavaScript files emitted on the page, leading to Reflected XSS. When a visitor follows a crafted link, the WP Compress WordPress plugin before 7.10.04's loader injects script elements pointing to an attacker-controlled origin, which lets the attacker execute arbitrary JavaScript in the visitor's session on the target site.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wp Compress
View allRemote code execution in the WP Compress (Image Optimizer) WordPress plugin before version 7.20.01 allows unauthenticate
The WP Compress - Image Optimizer [All-In-One] plugin for WordPress is vulnerable to Directory Traversal in all versions
The WP Compress - Instant Performance & Speed Optimization plugin for WordPress is vulnerable to unauthorized access, mo
Unauthenticated settings modification in the WP Compress WordPress plugin (versions <= 7.21.28) allows any remote attack
The WP Compress - Image Optimizer plugin for WordPress is vulnerable to unauthorized modification of data due to a missi
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in AresIT WP Compress
Cross-Site Request Forgery (CSRF) vulnerability in AresIT WP Compress allows Cross Site Request Forgery.30.30. Rated hig
The WP Compress - Image Optimizer [All-In-One] plugin for WordPress is vulnerable to unauthorized modification of data d
The WP Compress - Instant Performance & Speed Optimization plugin for WordPress is vulnerable to Server-Side Request For
A security vulnerability in AresIT WP Compress allows Authentication Abuse (CVSS 5.3). Remediation should follow standar
The WP Compress - Image Optimizer [All-In-One plugin for WordPress is vulnerable to Open Redirect in all versions up to,
Cross-Site Request Forgery (CSRF) vulnerability in WP Compress WP Compress - Image Optimizer [All-In-One].10.35. Rated m
EUVD-2026-47886
GHSA-w2pp-vvh7-8jx9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB