OroCommerce Cross-site Scripting vulnerability in add note dialog of Shopping List line item
Description
Stored XSS in OroCommerce allows executing JS payload in product name via shopping list note feature, fixed in 5.0.11 and 5.1.1.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Stored XSS in OroCommerce allows executing JS payload in product name via shopping list note feature, fixed in 5.0.11 and 5.1.1.
Vulnerability
Overview OroCommerce, an open-source B2B commerce application, is affected by a stored cross-site scripting (XSS) vulnerability in versions 4.1.0 through 4.1.13, 4.2.0 through 4.2.10, 5.0.0 prior to 5.0.11, and 5.1.0 prior to 5.1.1. The vulnerability resides in the handling of product names when a user adds a note to a shopping list line item. A JavaScript payload embedded in the product name is executed in the storefront context during this interaction [1][2].
Exploitation
Prerequisites An attacker must have administrative privileges to edit product names in the admin area. The attacker injects a malicious JS payload into the product name field. Subsequently, the attacker must convince a victim user (any storefront visitor) to add the crafted product to their shopping list and then click the "add a note" action for that line item. The payload then executes in the victim's browser, performing actions within the storefront's security context [1][2].
Impact
Successful exploitation allows the attacker to execute arbitrary JavaScript in the storefront's origin, potentially leading to theft of session cookies, manipulation of page content, or other actions that the victim user can perform. The attack does not require any special privileges on the part of the victim beyond being a standard storefront user [2].
Mitigation
The issue has been addressed in OroCommerce versions 5.0.11 and 5.1.1. Users running affected versions should upgrade to these patched releases. No workarounds have been publicly documented, and the vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog as of the publication date [1][2].
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
oro/commercePackagist | >= 4.1.0, <= 4.1.13 | — |
oro/commercePackagist | >= 4.2.0, <= 4.2.10 | — |
oro/commercePackagist | >= 5.0.0, < 5.0.11 | 5.0.11 |
oro/commercePackagist | >= 5.1.0, < 5.1.1 | 5.1.1 |
Affected products
2- oroinc/orocommercev5Range: >= 4.1.0, <= 4.1.13
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-2jc6-3fhj-8q84ghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-35950ghsaADVISORY
- github.com/oroinc/orocommerce/security/advisories/GHSA-2jc6-3fhj-8q84ghsax_refsource_CONFIRMWEB
News mentions
0No linked articles in our index yet.