Vulnerability · Published Oct 9, 2023 · Assigned by GitHub_M
CVE-2022-35950OroCommerce Cross-site Scripting vulnerability in add note dialog of Shopping List line item
Medium 6.9
In plain English
A medium-severity cross-site scripting in orocommerce from oroinc. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
OroCommerce is an open-source Business to Business Commerce application. 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 JS payload added to the product name may be executed at the storefront when adding a note to the shopping list line item containing a vulnerable product. An attacker should be able to edit a product in the admin area and force a user to add this product to Shopping List and click add a note for it. Versions 5.0.11 and 5.1.1 contain a fix for this issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Packagist | oro/commerce | no fix listed | GHSA-2jc6-3fhj-8q84 |
| Packagist | oro/commerce | no fix listed | GHSA-2jc6-3fhj-8q84 |
| Packagist | oro/commerce | 5.0.11 | GHSA-2jc6-3fhj-8q84 |
| Packagist | oro/commerce | 5.1.1 | GHSA-2jc6-3fhj-8q84 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| oroinc | orocommerce | >= 4.1.0, <= 4.1.13>= 4.2.0, <= 4.2.10>= 5.0.0, < 5.0.11>= 5.1.0, < 5.1.1 |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
References
- https://github.com/oroinc/orocommerce/security/advisories/GHSA-2jc6-3fhj-8q84 x_refsource_CONFIRM