{"id":"GHSA-4vf4-955g-vxp2","aliases":["CVE-2022-31037"],"title":"OroCommerce Cross site scripting vulnerability during shipping rule editing for UPS integration","description":"### 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.","severity":"medium","score":6.9,"published":"2022-10-18T19:52:25.000Z","modified":"2023-11-08T04:09:23.576Z","withdrawn":false,"knownExploited":false,"affected":[{"ecosystem":"Packagist","name":"oro/commerce","ranges":[{"events":[{"introduced":"4.1.0"},{"fixed":"5.0.6"}],"type":"ECOSYSTEM"}],"versions":["4.1.0","4.1.1","4.1.1-rc","4.1.1-rc2","4.1.10","4.1.11","4.1.12","4.1.13","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.1.8","4.1.9","4.2.0","4.2.0-alpha","4.2.0-alpha.1","4.2.0-alpha.2","4.2.0-alpha.3","4.2.0-beta","4.2.0-rc","4.2.1","4.2.10","4.2.2","4.2.3","4.2.4","4.2.5","4.2.6","4.2.7","4.2.8","4.2.9","5.0.0","5.0.0-alpha.1","5.0.0-alpha.2","5.0.0-beta.1","5.0.0-beta.2","5.0.0-rc","5.0.1","5.0.2","5.0.3","5.0.4","5.0.5"],"fixed":["5.0.6"]}],"references":["https://github.com/oroinc/orocommerce/security/advisories/GHSA-4vf4-955g-vxp2","https://nvd.nist.gov/vuln/detail/CVE-2022-31037","https://github.com/oroinc/orocommerce"],"sources":[{"name":"OSV","id":"GHSA-4vf4-955g-vxp2","modified":"2023-11-08T04:09:23.576414Z","url":"https://osv.dev/vulnerability/GHSA-4vf4-955g-vxp2"}],"assessments":[{"source":"OSV","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","score":6.9}]}