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

Medium 6.1 Published Updated

Unauthenticated attackers can inject scripts via customer_name that execute in admin browsers, potentially leading to account takeover.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-2506?

CVE-2026-2506 is a medium-severity cross-site scripting vulnerability in motahar1 EM Cost Calculator, published on 26 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-79

Which versions are affected by CVE-2026-2506?

How do I fix CVE-2026-2506?

No fix has been published for CVE-2026-2506 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-2506 being exploited?

There is no known exploitation of CVE-2026-2506 in the wild and no public exploit code.

Sources

Also known as GHSA-mhrq-g838-222j.

Is CVE-2026-2506 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free