CVE-2026-9066 WP Compress < 7.10.04 - Reflected XSS via test_zone

Medium 6.1 Published Updated

Attackers can execute arbitrary JavaScript in visitor sessions via a crafted link due to improper validation of a query parameter in the WP Compress plugin.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-9066?

CVE-2026-9066 is a medium-severity cross-site scripting vulnerability in Unknown WP Compress, published on 23 Jul 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-79

Which versions are affected by CVE-2026-9066?

How do I fix CVE-2026-9066?

No fix has been published for CVE-2026-9066 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-9066 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-9066 exists.

Sources

Also known as GHSA-w2pp-vvh7-8jx9.

Is CVE-2026-9066 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free