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.
Published: 2026-07-23
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Thu, 23 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-79

Thu, 23 Jul 2026 14:30:00 +0000

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'}


Thu, 23 Jul 2026 08:30:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpcompress
Wpcompress wp Compress
Vendors & Products Wordpress
Wordpress wordpress
Wpcompress
Wpcompress wp Compress

Thu, 23 Jul 2026 06:45:00 +0000

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

Subscriptions

Wordpress Wordpress
Wpcompress Wp Compress
cve-icon MITRE

Status: PUBLISHED

Assigner: WPScan

Published:

Updated: 2026-07-23T14:11:13.014Z

Reserved: 2026-05-20T08:42:05.343Z

Link: CVE-2026-9066

cve-icon Vulnrichment

Updated: 2026-07-23T14:09:20.467Z

cve-icon NVD

Status : Deferred

Published: 2026-07-23T07:16:32.830

Modified: 2026-07-23T15:18:18.617

Link: CVE-2026-9066

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T23:00:04Z

Weaknesses
  • CWE-79

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