CVE-2026-9066
Received Received - Intake

Reflected XSS in WP Compress WordPress Plugin

Vulnerability report for CVE-2026-9066, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-23

Last updated on: 2026-07-23

Assigner: WPScan

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-23
Last Modified
2026-07-23
Generated
2026-07-23
AI Q&A
2026-07-23
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wpcompress image_optimizer to 7.10.04 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-UNKNOWN

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This is a Reflected Cross-Site Scripting (XSS) vulnerability in the WP Compress – Image Optimizer WordPress plugin versions before 7.10.04. It occurs because the plugin does not properly validate the test_zone query parameter used to set the CDN host for JavaScript files. Attackers can craft malicious links with a rogue test_zone value that causes the plugin to load scripts from an attacker-controlled domain, executing arbitrary JavaScript in visitors' browsers.

Detection Guidance

To detect this vulnerability, check if your WP Compress plugin version is below 7.10.04. Look for unusual JavaScript injections in web pages served by the plugin. Test by appending a malicious test_zone parameter to URLs, such as ?test_zone=malicious.example.com, and observe if scripts load from unexpected origins.

Impact Analysis

If you visit a website running a vulnerable version of WP Compress, an attacker could trick you into clicking a specially crafted link. This could allow the attacker to run malicious scripts in your browser session, potentially stealing cookies, session tokens, or other sensitive data. It affects all visitors, including logged-in users, increasing the risk of account compromise or data theft.

Compliance Impact

This vulnerability could lead to unauthorized script execution in user sessions, potentially enabling data theft or manipulation. For GDPR, this may result in violations of Article 32 (security of processing) if user data is compromised. HIPAA-covered entities might face breaches of protected health information if session data is accessed.

Mitigation Strategies

Immediately update the WP Compress plugin to version 7.10.04 or later. If updating is not possible, disable the plugin until the update is applied. Review server logs for signs of exploitation attempts targeting the test_zone parameter.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-9066. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart