{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-31037","id":"CVE-2022-31037","title":"OroCommerce vulnerable to Cross-site Scripting via Shipping rule editing page","description":"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 ","descriptionLong":"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":"2022-10-18T00:00:00.000Z","updated":"2026-10-28T02:30:44.388966208Z","reserved":"2022-05-18T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","rating":"medium","source":"NVD"},{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":6.9,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","rating":"medium","source":"GitHub"}],"rating":"medium","products":["oroinc orocommerce"],"affectedProducts":[{"vendor":"oroinc","product":"orocommerce","defaultStatus":null,"versions":[{"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"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"oro/commerce","purl":"pkg:composer/oro/commerce","ranges":[">=4.1.0 <5.0.6"],"fixed":["5.0.6"],"advisory":"GHSA-4vf4-955g-vxp2"}],"cwes":["CWE-79"],"aliases":["GHSA-4vf4-955g-vxp2"],"references":[{"url":"https://github.com/oroinc/orocommerce/security/advisories/GHSA-4vf4-955g-vxp2","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31037.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31037","tags":["advisory"]},{"url":"https://github.com/oroinc/orocommerce","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00503,"epssPercentile":0.43818,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-31037","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31037","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-31037","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-4vf4-955g-vxp2","ok":true,"note":"GHSA-4vf4-955g-vxp2"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-31037","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}