npm package report

Is @braintree/sanitize-url safe?

@braintree/sanitize-url (npm) has 2 known vulnerabilities, the worst rated MODERATE. Upgrade to 6.0.1 or later to clear all of them. No malicious-package signal is recorded.

// reach

0 direct dependencies

none carry a known advisory

    3 packages depend on it

    an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


    cvss
    6.1
    medium

    CVSS v3.1 base score out of 10

    epss
    0.56%
    medium

    chance of exploitation in 30 days, 47th percentile of all CVEs

    xyz score
    not scored

    CyberXYZ composite out of 10

    fig. 01 — GHSA-q8gg-vj6m-hgmj, the advisory selected below

    // 2 advisories

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

    Full advisory text at GitHub advisory or NVD.

    // cvss v3.1 vector

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

    Attack vector
    Network
    Attack complexity
    Low
    Privileges required
    None
    User interaction
    Required
    Scope
    Changed
    Confidentiality
    Low
    Integrity
    Low
    Availability
    None
    // questions
    Is @braintree/sanitize-url safe to install?

    CyberXYZ does not call a package safe in absolute terms. It records 2 known vulnerabilities for @braintree/sanitize-url (npm), the worst rated MODERATE, and no malicious-package signal. Whether it is acceptable depends on the version you run.

    Does @braintree/sanitize-url have known vulnerabilities?

    Yes. CyberXYZ records 2 known vulnerabilities for @braintree/sanitize-url (npm), the worst rated MODERATE. They are GHSA-q8gg-vj6m-hgmj, GHSA-hqq7-2q2v-82xq.

    Which version of @braintree/sanitize-url should I use?

    6.0.1 or later clears every advisory recorded for @braintree/sanitize-url (npm). Check the release you pick before installing it.

    How do I check @braintree/sanitize-url before installing?

    Search @braintree/sanitize-url in CyberXYZ Check at https://cyberxyz.io/check?q=%40braintree%2Fsanitize-url. The xyz Scanner checks a project's dependencies, and CyberXYZ Proxy checks each package as it is installed.


    Checked 2026-11-14 at 08:26 UTC. The most recent advisory here was published 2023-02-24. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.