Correct Prices WordPress Plugin Reflected Cross-Site Scripting Vulnerability

Vulnerability

A reflected cross-site scripting vulnerability has been identified in the Correct Prices plugin for WordPress, affecting versions through 1.0. The issue arises in the correct_prices_page() function, which outputs the $_SERVER['PHP_SELF'] variable into a form's action attribute without proper input sanitization or output escaping. This lack of protection allows attackers to inject arbitrary markup by exploiting the PHP_SELF variable, which can reflect attacker-controlled path information. As a result, unauthenticated attackers could inject malicious web scripts into pages, potentially executing them if a user is tricked into clicking a crafted link.

Impact

Exploitation of this vulnerability allows for reflected cross-site scripting, where an attacker can inject malicious scripts that are executed in the context of the user's browser.

Added: May 20, 2026, 2:18 AM
Updated: May 20, 2026, 2:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
6.9
remediation
0.0
relevance
8.9
threat
3.2
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.