CVE-2026-9066

WP Compress < 7.10.04 - Reflected XSS via test_zone

Published Jul 23, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

The WP Compress WordPress plugin, versions before 7.10.04, accepts a request parameter that specifies the CDN host without performing any validation. When the plugin constructs URLs for JavaScript files that it emits on the page, it incorporates that untrusted value directly. An attacker can therefore craft a URL containing malicious script references; when a site visitor follows the link, the plugin emits script elements that load from an attacker‑controlled origin. This causes arbitrary JavaScript to execute in the visitor’s browser session, allowing credential theft, session hijack, or other typical XSS effects.

Affected Systems

Any WordPress site that has the WP Compress plugin installed and running a version earlier than 7.10.04 is affected, regardless of the hosting environment or operating system.

Risk and Exploitability

The CVSS score of 6.1 reflects a medium severity vulnerability. The EPSS score of 0.00149 indicates a low likelihood of exploitation at present, and the issue is not listed in the CISA KEV catalog. Based on the description, it is inferred that the attack requires a victim to click a crafted URL, making this a classic reflected XSS vector that can be abused against site visitors.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the WP Compress plugin to version 7.10.04 or later.
  • If an immediate upgrade is not possible, configure the web server or a web‑application firewall to strip or reject the query parameter `test_zone` so that the plugin does not use an untrusted value.
  • Implement a strict content‑security policy that allows script loading only from trusted domains, which limits the impact of any remaining reflected XSS attempts.

Generated by OpenCVE AI on August 3, 2026 at 22:56 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Weaknesses CWE-79
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpcompress
Wpcompress wp Compress
Vendors & Products Wordpress
Wordpress wordpress
Wpcompress
Wpcompress wp Compress
Type Values Removed Values Added
Description 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.
Title WP Compress < 7.10.04 - Reflected XSS via test_zone
References
Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
Jul 23, 2026, 2:11 PM
Reserved
May 20, 2026, 8:42 AM
Status
Deferred
Published
Jul 23, 2026, 7:16 AM
Modified
Jul 23, 2026, 3:18 PM