{"id":"UBUNTU-CVE-2021-23648","details":"The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.","modified":"2025-09-08T16:46:59Z","published":"2022-03-16T16:15:00Z","upstream":["CVE-2021-23648"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2021-23648"},{"type":"REPORT","url":"https://github.com/braintree/sanitize-url/pull/40"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2021-23648"}],"affected":[{"package":{"name":"node-mermaid","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/node-mermaid@8.13.8+~cs10.4.16-1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.7.0+ds+~cs27.17.17-3","8.13.3+ds+~cs26.13.21-1","8.13.3+ds+~cs26.13.21-2","8.13.8+~cs10.4.16-1"],"ecosystem_specific":{"binaries":[{"binary_name":"node-mermaid","binary_version":"8.13.8+~cs10.4.16-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-23648.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"},{"type":"Ubuntu","score":"medium"}]}