CVE-2022-31037Oroinc Orocommerce
Medium 5.4
Follow: this CVE · Oroinc · Oroinc Orocommerce We alert you by email or Slack (account required).
- Priority
- 32
- CVSS 3.1
- 5.4
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 41
- Auth required
- Yes
- Published
- Oct 18, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Orocommerce.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | oro/commerce |
≥ 4.1.0 < 5.0.6 |
5.0.6 |
composer require "oro/commerce:^5.0.6" |
Per OSV / GitHub Advisories (GHSA-4vf4-955g-vxp2). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| oroinc | orocommerce | ≥ 4.1.0 ≤ 4.1.17 |
| oroinc | orocommerce | ≥ 4.2.0 ≤ 4.2.11 |
| oroinc | orocommerce | ≥ 5.0.0 ≤ 5.0.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Third Party Advisory