CVE-2026-8627
MediumCVSS 6.1Exploitation Probability (EPSS)
Low risk13th percentile - higher than 13% of all known CVEs
Summary
The Correct Prices plugin for WordPress up to version 1.0 contains a reflected XSS vulnerability via the $_SERVER['PHP_SELF'] variable. The correct_pages_page() function echoes this variable into a form's action attribute without sanitization, allowing an unauthenticated attacker to inject arbitrary JavaScript.
Risk Assessment
An attacker can trick a victim into clicking a crafted link, leading to malicious script execution in their browser. This could result in session theft or account takeover.
Recommendation
Update the Correct Prices plugin to the latest available version that includes a fix.
Original NVD description (English source)
The Correct Prices plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the $_SERVER['PHP_SELF'] variable in versions up to and including 1.0. This is due to the correct_prices_page() function echoing $_SERVER['PHP_SELF'] into a form's action attribute without any input sanitization or output escaping (such as esc_url() or esc_attr()). Because PHP_SELF reflects attacker-controlled path-info appended to the script URL, an attacker can break out of the attribute and inject arbitrary markup. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a specially crafted link.

