CVE-2022-31037
MEDIUM 5.4CVSS 3.1OroCommerce Cross site scripting vulnerability during shipping rule editing for UPS integration
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.
- Published
- 18 Oct 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-4vf4-955g-vxp2
- Sources
- NVDJSONOSV GHSA-4vf4-955g-vxp2JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.9 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | oroinc | orocommercecpe:2.3:a:oroinc:orocommerce:*:*:*:*:*:*:*:* |
>= 4.1.0, <= 4.1.17 | |
| NVD | oroinc | orocommercecpe:2.3:a:oroinc:orocommerce:*:*:*:*:*:*:*:* |
>= 4.2.0, <= 4.2.11 | |
| NVD | oroinc | orocommercecpe:2.3:a:oroinc:orocommerce:*:*:*:*:*:*:*:* |
>= 5.0.0, <= 5.0.3 | |
| OSV | Packagist | oro/commerce | >= 4.1.0, < 5.0.6 | 5.0.6 |
References
- https://github.com/oroinc/orocommerce/security/advisories/GHSA-4vf4-955g-vxp2 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-31037 · ADVISORY
- https://github.com/oroinc/orocommerce · PACKAGE
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 18 Oct 2022)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 18 Oct 2022)