# CVE-2026-8627: Correct Prices <= 1.0 - Reflected Cross-Site Scripting via PHP_SELF Parameter

- Severity: Medium 6.1 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2026-05-20T01:25:48.666Z
- Modified: 2026-07-23T20:10:00.130Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- lykich Correct Prices: up to 1.0

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/605c6c53-6920-42ba-8784-b3a186bbf821?source=cve>
- <https://plugins.trac.wordpress.org/browser/correct-prices/trunk/correct_prices.php#L134>

## Sources

- CVE List: [CVE-2026-8627](https://www.cve.org/CVERecord?id=CVE-2026-8627), CVE Terms of Use, modified 2026-05-20
- NVD: [CVE-2026-8627](https://nvd.nist.gov/vuln/detail/CVE-2026-8627), Public domain, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-8627 · Whole record: https://cve.day/CVE-2026-8627.json · Rebuilt by cve.day 2026-11-25T22:59:22.019Z
