OroCommerce vulnerable to Cross-site Scripting via Shipping rule editing page
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| oroinc | orocommerce | 4.1.0 – 4.1.17; 4.2.0 – 4.2.11; 5.0.0 – 5.0.3 | — | No fix listed | CNA |
| — | oro/commerce (Packagist) | 4.1.0 to before 5.0.6 | 5.0.6 | Patch available | GHSA-4vf4-955g-vxp2 |
- orocommerce Vendororoinc Affected 4.1.0 – 4.1.17; 4.2.0 – 4.2.11; 5.0.0 – 5.0.3 Fixed in — No fix listed CNA
- oro/commerce (Packagist) Vendor— Affected 4.1.0 to before 5.0.6 Fixed in 5.0.6 Patch available GHSA-4vf4-955g-vxp2
Remediation
- Fix · GHSA-4vf4-955g-vxp2 oro/commerce (Packagist) Fixed in 5.0.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2022-31037
- 2026-10-03 Alias added: GHSA-4vf4-955g-vxp2
References
More oroinc Orocommerce vulnerabilities
- TI-2022-16377 OroCommerce Cross-site Scripting vulnerability in add note dialog of Shopping List line item CVSS 3.1MEDIUM 6.9
- TI-2023-15369 OroCommerce get-totals-for-checkout API endpoint returns unwanted data CVSS 3.1MEDIUM 5.8
- TI-2023-15368 OroCommerce Customer Portal Incorrect Customer and Customer Group Frontend Menus pages visibility CVSS 3.1MEDIUM 5.0
Sources
- CVE-2022-31037 · CVE Program
- CVE-2022-31037 · NVD
- FIRST EPSS
- GHSA-4vf4-955g-vxp2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences