Skip to main content

WP Compress CVE-2026-9066

| EUVDEUVD-2026-47886 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-23 WPScan GHSA-w2pp-vvh7-8jx9
6.1
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify WordPress site with WP Compress < 7.10.04
  2. Delivery
    Craft URL with malicious CDN host query parameter
  3. Exploit
    Deliver crafted link to victim via phishing or social engineering
  4. Execution
    Victim clicks link; plugin emits attacker-controlled script tags
  5. Persist
    Attacker's JavaScript executes in victim's browser session
  6. Impact
    Exfiltrate 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

WP Compress 0 <7.10.04

Affected Packages

euvd wp_compress fix: 7.10.04

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

Vendor (WPScan) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
Patch available
Jul 23, 2026 - 10:02 EUVD
CVE Published
Jul 23, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Jul 23, 2026 - 06:00 cve.org
MEDIUM 6.1

DescriptionCVE.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

EPSS Score
0.2%
Top 89% exploitable
Prevalence
Medium
popular WordPress CDN/performance optimization plugin with significant install base
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2026-73343 CRITICAL
10.0 Aug 18

Remote code execution in the WP Compress (Image Optimizer) WordPress plugin before version 7.20.01 allows unauthenticate

CVE-2023-6699 CRITICAL
9.1 Jan 11

The WP Compress - Image Optimizer [All-In-One] plugin for WordPress is vulnerable to Directory Traversal in all versions

CVE-2025-2110 HIGH
8.8 Mar 26

The WP Compress - Instant Performance & Speed Optimization plugin for WordPress is vulnerable to unauthorized access, mo

CVE-2026-84757 HIGH
8.2 Sep 03

Unauthenticated settings modification in the WP Compress WordPress plugin (versions <= 7.21.28) allows any remote attack

CVE-2024-1934 HIGH
7.5 Apr 09

The WP Compress - Image Optimizer plugin for WordPress is vulnerable to unauthorized modification of data due to a missi

CVE-2024-47384 HIGH
7.1 Oct 05

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in AresIT WP Compress

CVE-2025-47546 HIGH
7.1 May 07

Cross-Site Request Forgery (CSRF) vulnerability in AresIT WP Compress allows Cross Site Request Forgery.30.30. Rated hig

CVE-2024-4445 MEDIUM
6.5 May 14

The WP Compress - Image Optimizer [All-In-One] plugin for WordPress is vulnerable to unauthorized modification of data d

CVE-2025-2109 MEDIUM
5.8 Mar 25

The WP Compress - Instant Performance & Speed Optimization plugin for WordPress is vulnerable to Server-Side Request For

CVE-2025-47479 MEDIUM
5.3 Jul 04

A security vulnerability in AresIT WP Compress allows Authentication Abuse (CVSS 5.3). Remediation should follow standar

CVE-2023-6812 MEDIUM
4.3 May 14

The WP Compress - Image Optimizer [All-In-One plugin for WordPress is vulnerable to Open Redirect in all versions up to,

CVE-2024-32106 MEDIUM
4.3 Apr 11

Cross-Site Request Forgery (CSRF) vulnerability in WP Compress WP Compress - Image Optimizer [All-In-One].10.35. Rated m

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy