# CVE-2026-2506: EM Cost Calculator <= 2.3.1 - Unauthenticated Stored Cross-Site Scripting via 'customer_name'

- 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.26%, higher than 18% of CVEs (2026-12-01)
- Published: 2026-02-26T01:24:13.651Z
- Modified: 2026-06-17T10:31:12.567Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## Description

The EM Cost Calculator plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.3.1. This is due to the plugin storing attacker-controlled 'customer_name' data and rendering it in the admin customer list without output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts that execute when an administrator views the EMCC Customers page.

(As written by CVE List.)

## Affected

- motahar1 EM Cost Calculator: up to 2.3.1

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/1eef338a-ccc7-41a2-b87a-0945e39380d2?source=cve>
- <https://plugins.trac.wordpress.org/browser/cost-calculator/tags/2.3.1/em-cost-calculator-widget.php#L655>
- <https://plugins.trac.wordpress.org/browser/cost-calculator/tags/2.3.1/em-cost-calculator-widget.php#L682>
- <https://plugins.trac.wordpress.org/browser/cost-calculator/tags/2.3.1/em-cost-calculator-widget.php#L701>
- <https://plugins.trac.wordpress.org/browser/cost-calculator/tags/2.3.1/em-cost-calc-admin-page.php#L59>

## Sources

- CVE List: [CVE-2026-2506](https://www.cve.org/CVERecord?id=CVE-2026-2506), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2026-2506](https://nvd.nist.gov/vuln/detail/CVE-2026-2506), Public domain, modified 2026-06-17

---

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