{"api_version":"1","generated_at":"2026-07-23T12:51:19+00:00","cve":"CVE-2022-31037","urls":{"html":"https://cve.report/CVE-2022-31037","api":"https://cve.report/api/cve/CVE-2022-31037.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31037","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31037"},"summary":{"title":"CVE-2022-31037","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 are no known workarounds.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-10-18 10:15:00","updated_at":"2022-10-20 15:28:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/oroinc/orocommerce/security/advisories/GHSA-4vf4-955g-vxp2","name":"https://github.com/oroinc/orocommerce/security/advisories/GHSA-4vf4-955g-vxp2","refsource":"CONFIRM","tags":[],"title":"XSS vulnerability during shipping rule editing for UPS integration · Advisory · oroinc/orocommerce · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31037","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31037","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"31037","vulnerable":"1","versionEndIncluding":"4.1.17","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oroinc","cpe5":"orocommerce","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"31037","vulnerable":"1","versionEndIncluding":"4.2.11","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oroinc","cpe5":"orocommerce","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"31037","vulnerable":"1","versionEndIncluding":"5.0.3","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"oroinc","cpe5":"orocommerce","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-31037","STATE":"PUBLIC","TITLE":"OroCommerce vulnerable to Cross-site Scripting via Shipping rule editing page"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"orocommerce","version":{"version_data":[{"version_value":">= 4.1.0, <= 4.1.17"},{"version_value":">= 4.2.0, <= 4.2.11 "},{"version_value":">= 5.0.0, <= 5.0.3"}]}}]},"vendor_name":"oroinc"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":6.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/oroinc/orocommerce/security/advisories/GHSA-4vf4-955g-vxp2","refsource":"CONFIRM","url":"https://github.com/oroinc/orocommerce/security/advisories/GHSA-4vf4-955g-vxp2"}]},"source":{"advisory":"GHSA-4vf4-955g-vxp2","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-10-18 10:15:00","lastModifiedDate":"2022-10-20 15:28:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.3,"impactScore":2.7}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oroinc:orocommerce:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndIncluding":"5.0.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oroinc:orocommerce:*:*:*:*:*:*:*:*","versionStartIncluding":"4.2.0","versionEndIncluding":"4.2.11","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:oroinc:orocommerce:*:*:*:*:*:*:*:*","versionStartIncluding":"4.1.0","versionEndIncluding":"4.1.17","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}