CVE-2022-31037

Source
https://cve.org/CVERecord?id=CVE-2022-31037
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31037.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-31037
Aliases
Published
2022-10-18T00:00:00Z
Modified
2026-07-15T01:49:06.461798941Z
Severity
  • 6.9 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:L/A:N CVSS Calculator
Summary
OroCommerce vulnerable to Cross-site Scripting via Shipping rule editing page
Details

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.

Database specific
{
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "introduced": "4.1.0"
                },
                {
                    "last_affected": "4.1.17"
                },
                {
                    "introduced": "4.2.0"
                },
                {
                    "last_affected": "4.2.11"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ],
    "cwe_ids": [
        "CWE-79"
    ],
    "cna_assigner": "GitHub_M",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31037.json"
}
References

Affected packages

Git / github.com/oroinc/orocommerce

Affected ranges

Type
GIT
Repo
https://github.com/oroinc/orocommerce
Events
Database specific
{
    "cpe": "cpe:2.3:a:oroinc:orocommerce:*:*:*:*:*:*:*:*",
    "extracted_events": [
        {
            "introduced": "5.0.0"
        },
        {
            "last_affected": "5.0.3"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ]
}

Affected versions

5.*
5.0.0
5.0.1
5.0.2
5.0.3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-31037.json"