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.
Published: 2026-02-26
Score: 6.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting enabling arbitrary script execution in the WordPress admin interface.
Action: Patch Now
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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

History

Fri, 10 Apr 2026 04:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Thu, 26 Feb 2026 13:30:00 +0000

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

Thu, 26 Feb 2026 02:15:00 +0000

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'}


Subscriptions

Motahar1 Em Cost Calculator
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T16:40:55.330Z

Reserved: 2026-02-13T22:51:00.248Z

Link: CVE-2026-2506

cve-icon Vulnrichment

Updated: 2026-02-26T15:38:22.360Z

cve-icon NVD

Status : Deferred

Published: 2026-02-26T02:16:25.410

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-2506

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-15T20:15:13Z

Weaknesses