CVE-2022-31037: OroCommerce Cross site scripting vulnerability during shipping rule editing for UPS integration
6.9
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.50196%
CWE
Published
10/18/2022
Updated
1/30/2023
KEV Status
No
Technology
PHP
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| oro/commerce | composer | >= 4.1.0, < 5.0.6 | 5.0.6 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability stems from improper output encoding in the shipping rule edit interface. Given that OroCommerce uses Twig templates (common in Symfony-based applications), and XSS occurs specifically in the UPS Surcharge field, the most probable root cause is a template rendering the surcharge value without adequate escaping. The absence of patch details requires inference, but the pattern matches classic XSS vulnerabilities in templating systems where user-controlled input is directly embedded in HTML/JS contexts without sanitization.