{"id":"CVE-2022-31037","published":"2022-10-18T00:00:00Z","modified":"2025-04-23T16:45:45Z","title":"OroCommerce vulnerable to Cross-site Scripting via Shipping rule editing page","vendor":"oroinc","product":"orocommerce","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00503,"percentile":0.43961,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/oroinc/orocommerce/security/advisories/GHSA-4vf4-955g-vxp2","tags":[]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":8.79},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"oroinc","affectedVersions":[{"vendor":"oroinc","product":"orocommerce","versions":[">= 4.1.0, <= 4.1.17",">= 4.2.0, <= 4.2.11",">= 5.0.0, <= 5.0.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-04-23T13:56:12.466489Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"oro/commerce","vulnerableRanges":[">=4.1.0, <5.0.6"],"patched":["5.0.6"],"from":["GHSA-4vf4-955g-vxp2"],"provenance":"source"}],"summary":{"text":"OroCommerce, the open-source B2B commerce application from oroinc, contains a cross-site scripting flaw in the UPS Surcharge field of the Shipping rule edit page. An attacker who holds permission to create or edit shipping rules, and who needs a user to interact with the page, can inject script that runs in the context of the affected application.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:09Z"},"euvd":{"id":"EUVD-2022-7019","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-31037","published":"2022-10-18","fixed":"5.0.6","kev":false},{"cve":"CVE-2022-35950","published":"2023-10-09","fixed":"5.1.1","kev":false,"link":{"from":"CVE-2022-31037","to":"CVE-2022-35950","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:oro/commerce","fromFixed":"5.0.6","toFixed":"5.0.11","daysApart":356}]}},{"cve":"CVE-2023-32065","published":"2023-11-28","fixed":"5.1.1","kev":false,"link":{"from":"CVE-2022-31037","to":"CVE-2023-32065","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:oro/commerce","fromFixed":"5.0.6","toFixed":"5.0.11","daysApart":406}]}}],"package":"Packagist:oro/commerce"}}