{"id":"CVE-2022-31037","aliases":["CVE-2022-31037","GHSA-4vf4-955g-vxp2"],"related":[],"kind":"vulnerability","state":"published","title":"OroCommerce vulnerable to Cross-site Scripting via Shipping rule editing page","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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"### Impact\nShipping rule edit page is vulnerable to cross site scripting (XSS) payload added to UPS Surcharge field. The attacker should have permission to create or edit a shipping rule.","format":"markdown","source":"ghsa"},{"lang":"es","text":"OroCommerce es una aplicación de comercio entre empresas de código abierto. Las versiones entre 4.1.0 y 4.1.17 incluyéndola, 4.2.0 y 4.2.11 incluyéndola, y entre 5.0.0 y 5.0.3 incluyéndola, son vulnerables a un ataque de tipo Cross-site Scripting en el campo UPS Surcharge de la página de edición de reglas de envío. El atacante necesita permiso para crear o editar una regla de envío. Este problema ha sido corregido en versión 5.0.6. No se presentan mitigaciones conocidas","source":"nvd"}],"published":"2022-10-18T00:00:00.000Z","modified":"2026-06-17T04:44:39.657Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","score":6.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","score":6.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":">= 4.1.0, <= 4.1.17","status":"affected"},{"version":">= 4.2.0, <= 4.2.11 ","status":"affected"},{"version":">= 5.0.0, <= 5.0.3","status":"affected"}],"vendor":"oroinc","product":"orocommerce","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.1.0","status":"affected","fixed":"5.0.6"}],"ecosystem":"Packagist","package":"oro/commerce","purl":"pkg:composer/oro/commerce","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.1.0","lastAffected":"4.1.17"},{"status":"affected","introduced":"4.2.0","lastAffected":"4.2.11"},{"status":"affected","introduced":"5.0.0","lastAffected":"5.0.3"}],"vendor":"oroinc","product":"orocommerce","cpe":"cpe:2.3:a:oroinc:orocommerce:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/oroinc/orocommerce/security/advisories/GHSA-4vf4-955g-vxp2","tags":["third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31037","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/oroinc/orocommerce","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-23T13:56:12.466Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-31037","url":"https://www.cve.org/CVERecord?id=CVE-2022-31037","licence":"CVE Terms of Use","modified":"2025-04-23T16:45:45.109Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4vf4-955g-vxp2","url":"https://github.com/advisories/GHSA-4vf4-955g-vxp2","licence":"CC-BY-4.0","modified":"2023-11-08T04:09:23.576Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-31037","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31037","licence":"Public domain","modified":"2026-06-17T04:44:39.657Z"}],"updatedAt":"2026-11-25T22:58:15.811Z","epss":{"score":0.00576,"percentile":0.41447,"date":"2026-11-30T12:00:22.000Z"}}