# CVE-2021-42193: nopCommerce stored XSS in Product Name field

Source: https://junglewise.ai/threats/cve-2021-42193-nopcommerce-stored-xss-in-product-name-field  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-10-03. Updated: 2026-07-05  
License: CC BY 4.0 with a link back

CVE-2021-42193 · Severity: medium · CVSS 6.1 · Published 2025-10-03

nopCommerce, a popular open-source e-commerce platform, is vulnerable to a security flaw that allows attackers to inject malicious scripts into product names. When a customer views the affected product in the online store, the script automatically runs in their browser. This could allow an attacker to steal session cookies, redirect users to malicious websites, or perform unauthorized actions on behalf of the customer.

Technologies: [Nopcommerce](https://junglewise.ai/threats/technologies/nopcommerce). Vendors: [Nopcommerce](https://junglewise.ai/threats/vendors/nopcommerce).

## Quick answers

**Is CVE-2021-42193 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2021-42193 being exploited in the wild.

**How severe is CVE-2021-42193?** Medium severity, with a CVSS score of 6.1, published 3 October 2025.

**Which products and versions are affected?** Nopcommerce 4.40.3.

**Is there a fix for CVE-2021-42193?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2021-42193 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2021-42193?** Check whether you run Nopcommerce at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored cross-site scripting (XSS) vulnerability exists in nopCommerce 4.40.3 within the 'Product Name' field at the /Admin/Product/Edit/[id] endpoint. The application fails to properly sanitize this input before rendering it on the public-facing shop pages. An attacker with administrative privileges can inject an obfuscated SVG-based payload (e.g., using onload handlers and Unicode escapes) to bypass basic filters. When any user (including unauthenticated customers) views the compromised product page, the payload executes arbitrary JavaScript in the context of their browser session. This can lead to session hijacking or unauthorized data exfiltration.

## Affected products

- nopCommerce nopCommerce 4.40.3

## Timeline

- 2021-10-13: disclosed: CVE reserved date
- 2025-10-01: disclosed: Public exploit published by Scott Sturrock
- 2025-10-03: advisory: NVD published date

## References

- [http://nop.com/](http://nop.com/)
- [https://cxsecurity.com/issue/WLB-2025100002](https://cxsecurity.com/issue/WLB-2025100002)

## Related threats

- [nopCommerce 4.90.0 is vulnerable to Cross Site Request Forgery (CSRF) via the Schedule Tasks functionality.](https://junglewise.ai/threats/cve-2025-65593-nopcommerce-4-90-0-is-vulnerable-to-cross-site-request-forgery)
- [nopCommerce 4.90.0 is vulnerable to Cross Site Scripting (XSS) in the product management functionality. Malicious…](https://junglewise.ai/threats/cve-2025-65592-nopcommerce-4-90-0-is-vulnerable-to-cross-site-scripting-xss-in)
- [nopCommerce 4.90.0 is vulnerable to Cross Site Scripting (XSS) via the Currencies functionality.](https://junglewise.ai/threats/cve-2025-65591-nopcommerce-4-90-0-is-vulnerable-to-cross-site-scripting-xss-via)
- [nopCommerce 4.90.0 is vulnerable to Cross Site Scripting (XSS) via the Blog posts functionality in the Content Management area.](https://junglewise.ai/threats/cve-2025-65590-nopcommerce-4-90-0-is-vulnerable-to-cross-site-scripting-xss-via)
- [nopCommerce 4.90.0 is vulnerable to Cross Site Scripting (XSS) via the Attributes functionality.](https://junglewise.ai/threats/cve-2025-65589-nopcommerce-4-90-0-is-vulnerable-to-cross-site-scripting-xss-via)
