6.9medium
OroCommerce vulnerable to Cross-site Scripting via Shipping rule editing page
- Severity
- 6.9medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.58% (higher than 41% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-4vf4-955g-vxp2
Description
OroCommerce is an open-source Business to Business Commerce application. Versions between 4.1.0 and 4.1.17 inclusive, 4.2.0 and 4.2.11 inclusive, and between 5.0.0 and 5.0.3 inclusive, are vulnerable to Cross-site Scripting in the UPS Surcharge field of the Shipping rule edit page. The attacker needs permission to create or edit a shipping rule. This issue has been patched in version 5.0.6. There are no known workarounds.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| oroinc orocommerce | >= 4.1.0, <= 4.1.17, >= 4.2.0, <= 4.2.11 , >= 5.0.0, <= 5.0.3, from 4.1.0 up to 4.1.17, from 4.2.0 up to 4.2.11, from 5.0.0 up to 5.0.3 | CVE List, NVD |
| oro/commerce (Packagist) | from 4.1.0 before 5.0.6 | GitHub Advisory Database |
All scores
| GitHub_M | 6.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N |
| GitHub | 6.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
OroCommerce is an open-source Business to Business Commerce application. Versions between 4.1.0 and 4.1.17 inclusive, 4.2.0 and 4.2.11 inclusive, and between 5.0.0 and 5.0.3 inclusive, are vulnerable to Cross-site Scripting in the UPS Surcharge field of the Shipping rule edit page. The attacker needs permission to create or edit a shipping rule. This issue has been patched in version 5.0.6. There are no known workarounds.
GitHub Advisory Database
Impact
Shipping rule edit page is vulnerable to cross site scripting (XSS) payload added to UPS Surcharge field. The attacker should have permission to create or edit a shipping rule.
NVD (es)
OroCommerce es una aplicación de comercio entre empresas de código abierto. Las versiones entre 4.1.0 y 4.1.17 incluyéndola, 4.2.0 y 4.2.11 incluyéndola, y entre 5.0.0 y 5.0.3 incluyéndola, son vulnerables a un ataque de tipo Cross-site Scripting en el campo UPS Surcharge de la página de edición de reglas de envío. El atacante necesita permiso para crear o editar una regla de envío. Este problema ha sido corregido en versión 5.0.6. No se presentan mitigaciones conocidas
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31037 changed 2025-04-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-4vf4-955g-vxp2 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2022-31037 changed 2026-06-17 | Public domain |