Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. oro/commerce
  4. ›
  5. CVE-2022-31037

CVE-2022-31037: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

October 18, 2022 (updated October 20, 2022)

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, is 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.

References

  • github.com/advisories/GHSA-4vf4-955g-vxp2
  • github.com/oroinc/orocommerce/security/advisories/GHSA-4vf4-955g-vxp2
  • nvd.nist.gov/vuln/detail/CVE-2022-31037

Code Behaviors & Features

Detect and mitigate CVE-2022-31037 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 4.1.0 up to 4.1.17, all versions starting from 4.2.0 up to 4.2.11, all versions starting from 5.0.0 up to 5.0.3

Fixed versions

  • 5.0.4

Solution

Upgrade to version 5.0.4 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

packagist/oro/commerce/CVE-2022-31037.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:48 +0000.