CVE-2026-8627: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in lykich Correct Prices
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.
AI Analysis
Technical Summary
CVE-2026-8627 is a reflected XSS vulnerability in the Correct Prices WordPress plugin (lykich) versions up to 1.0. The vulnerability arises because the correct_prices_page() function echoes the $_SERVER['PHP_SELF'] variable directly into a form's action attribute without sanitization or escaping. Since PHP_SELF reflects attacker-controlled path information, an attacker can inject malicious markup by breaking out of the attribute context. This vulnerability allows unauthenticated attackers to execute arbitrary scripts in the context of a victim's browser if the victim clicks a crafted link.
Potential Impact
Successful exploitation can lead to the execution of arbitrary JavaScript in the context of the affected site for users who click on a maliciously crafted URL. This can result in theft of user credentials, session hijacking, or other client-side attacks. The vulnerability does not require authentication and affects the confidentiality and integrity of user interactions with the site. There is no indication of impact to availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid clicking suspicious links that target the affected plugin. Site administrators may consider temporarily disabling the plugin or applying manual code sanitization and escaping of the PHP_SELF variable in the plugin source code to mitigate the risk.
CVE-2026-8627: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in lykich Correct Prices
Description
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-8627 is a reflected XSS vulnerability in the Correct Prices WordPress plugin (lykich) versions up to 1.0. The vulnerability arises because the correct_prices_page() function echoes the $_SERVER['PHP_SELF'] variable directly into a form's action attribute without sanitization or escaping. Since PHP_SELF reflects attacker-controlled path information, an attacker can inject malicious markup by breaking out of the attribute context. This vulnerability allows unauthenticated attackers to execute arbitrary scripts in the context of a victim's browser if the victim clicks a crafted link.
Potential Impact
Successful exploitation can lead to the execution of arbitrary JavaScript in the context of the affected site for users who click on a maliciously crafted URL. This can result in theft of user credentials, session hijacking, or other client-side attacks. The vulnerability does not require authentication and affects the confidentiality and integrity of user interactions with the site. There is no indication of impact to availability.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid clicking suspicious links that target the affected plugin. Site administrators may consider temporarily disabling the plugin or applying manual code sanitization and escaping of the PHP_SELF variable in the plugin source code to mitigate the risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-05-14T18:45:14.185Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a0d1a65ba1db473621f7e96
Added to database: 5/20/2026, 2:20:21 AM
Last enriched: 5/20/2026, 2:34:11 AM
Last updated: 5/20/2026, 5:59:28 PM
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.