CVE-2021-23648

Source
https://cve.org/CVERecord?id=CVE-2021-23648
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23648.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2021-23648
Aliases
Downstream
Related
Published
2022-03-16T16:15:10.690Z
Modified
2026-04-11T12:36:10.827674Z
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

The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.

Database specific
{
    "unresolved_ranges": [
        {
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "34"
                }
            ],
            "cpe": "cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*"
        },
        {
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "35"
                }
            ],
            "cpe": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*"
        },
        {
            "source": "CPE_FIELD",
            "extracted_events": [
                {
                    "last_affected": "36"
                }
            ],
            "cpe": "cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*"
        }
    ]
}
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
Database specific
{
    "source": "CPE_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "6.0.0"
        }
    ],
    "cpe": "cpe:2.3:a:paypal:braintree\\/sanitize-url:*:*:*:*:*:node.js:*:*"
}

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

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23648.json"