CVE-2022-48345

Source
https://cve.org/CVERecord?id=CVE-2022-48345
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48345.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-48345
Aliases
Downstream
Published
2023-02-24T00:00:00Z
Modified
2026-10-28T02:30:26Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

sanitize-url (aka @braintree/sanitize-url) before 6.0.2 allows XSS via HTML entities.

Database specific
{
    "cna_assigner":  "mitre",
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48345.json"
}
References

Affected packages

Git / github.com/braintree/sanitize-url

Affected ranges

Type
GIT
Repo
https://github.com/braintree/sanitize-url
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "cpe":  "cpe:2.3:a:paypal:braintree\\/sanitize-url:*:*:*:*:*:node.js:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "6.0.2"
                }
            ],
            "source":  "CPE_RANGE"
        },
        {
            "range":  [
                {
                    "fixed":  "d4bdc89f1743fe3cdb7c3f24b06e4c875f349b0c"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

1.*
1.0.0
2.*
2.0.0
2.0.1
2.0.2
2.1.0
v3.*
v3.1.0
v4.*
v4.0.0
v4.0.1
v4.1.0
v4.1.1
v5.*
v5.0.0
v5.0.1
v5.0.2
v6.*
v6.0.0

Database specific

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