@braintree/sanitize-url Cross-site Scripting vulnerability
Date: 2023-02
Affected: npm/@braintree/sanitize-url
Attack vector: xss
Category: vulnerability-disclosure
Severity: Medium
CVE: CVE-2022-48345
CWE: CWE-79
CVSS: 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N)

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


Mitigations:

Architectural layers (MAESTRO):