Files
CVEs-PoC/2021/CVE-2021-23648.md
T
2025-09-29 21:09:30 +02:00

19 lines
798 B
Markdown

### [CVE-2021-23648](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23648)
![](https://img.shields.io/static/v1?label=Product&message=%40braintree%2Fsanitize-url&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=unspecified%20&color=brightgreen)
![](https://img.shields.io/static/v1?label=Vulnerability&message=Cross-site%20Scripting%20(XSS)&color=brightgreen)
### Description
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
### POC
#### Reference
- https://github.com/braintree/sanitize-url/pull/40/commits/e5afda45d9833682b705f73fc2c1265d34832183
- https://snyk.io/vuln/SNYK-JS-BRAINTREESANITIZEURL-2339882
#### Github
- https://github.com/ARPSyndicate/cvemon