CVE-2026-2506

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

Published Feb 26, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The EM Cost Calculator WordPress plugin stores the 'customer_name' field without escaping, which allows an unauthenticated user to inject malicious JavaScript that is later rendered in the admin customer list. The stored cross‑site scripting permits the attacker to execute arbitrary code in the context of any administrator who views the affected page, potentially leading to session hijacking, defacement, or data exfiltration.

Affected Systems

The vulnerability affects the EM Cost Calculator plugin by the vendor motahar1, versions 2.3.1 and earlier, which runs on WordPress sites.

Risk and Exploitability

The CVSS score assigned to this flaw is 6.1, reflecting a moderate severity with potential for abuse. The EPSS score is below 1 %, indicating a low probability of exploitation at the moment, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Attackers can exploit the flaw without authentication by submitting malicious input via the customer name field, and when an administrator later accesses the customer list page the stored script runs in their browser. Given the lack of control requirements and the relatively low exploitation probability, the risk remains moderate but should not be ignored.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the EM Cost Calculator plugin to the latest release that contains the XSS fix or uninstall the plugin if it is no longer required.
  • If an immediate upgrade is not possible, restrict the customer name input to authenticated users only and sanitize or escape the input using WordPress sanitization functions before storing it.
  • Deploy a Content Security Policy that disallows inline scripts in the admin area, helping to block execution of any code that remains stored.

Generated by OpenCVE AI on April 15, 2026 at 20:13 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Motahar1
Motahar1 em Cost Calculator
Wordpress
Wordpress wordpress
Vendors & Products Motahar1
Motahar1 em Cost Calculator
Wordpress
Wordpress wordpress
Type Values Removed Values Added
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.
Title EM Cost Calculator <= 2.3.1 - Unauthenticated Stored Cross-Site Scripting via 'customer_name'
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Apr 8, 2026, 4:40 PM
Reserved
Feb 13, 2026, 10:51 PM
Status
Deferred
Published
Feb 26, 2026, 2:16 AM
Modified
Jun 17, 2026, 10:31 AM