PT-2022-9421 · Npm+4 · @Braintree/Sanitize-Url+4
Bob Wombat Hogg
·
Published
2022-02-22
·
Updated
2022-11-15
·
CVE-2021-23648
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
@braintree/sanitize-url versions prior to 6.0.0
Description
The issue is related to Cross-site Scripting (XSS) due to improper sanitization in the
sanitizeUrl function. This allows for potential XSS attacks.Recommendations
For versions prior to 6.0.0, update to version 6.0.0 or later to resolve the issue. As a temporary workaround, consider disabling the
sanitizeUrl function until a patch is available.Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
@Braintree/Sanitize-Url
Almalinux
Centos
Red Hat
Rocky Linux