Open mend-bolt-for-github[bot] opened 2 years ago
A url sanitizer
Library home page: https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-3.1.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/@braintree/sanitize-url/package.json
Dependency Hierarchy: - mermaid-8.13.3.tgz (Root Library) - :x: **sanitize-url-3.1.0.tgz** (Vulnerable Library)
Found in HEAD commit: 5a07ad71010693de12293f5ff1fadc890259b5e0
Found in base branch: main
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
Publish Date: 2022-03-16
URL: CVE-2021-23648
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None
Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23648
Release Date: 2022-03-16
Fix Resolution (@braintree/sanitize-url): 6.0.0
Direct dependency fix Resolution (mermaid): 9.0.0
Step up your Open Source Security Game with Mend here
CVE-2021-23648 - Medium Severity Vulnerability
A url sanitizer
Library home page: https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-3.1.0.tgz
Path to dependency file: /package.json
Path to vulnerable library: /node_modules/@braintree/sanitize-url/package.json
Dependency Hierarchy: - mermaid-8.13.3.tgz (Root Library) - :x: **sanitize-url-3.1.0.tgz** (Vulnerable Library)
Found in HEAD commit: 5a07ad71010693de12293f5ff1fadc890259b5e0
Found in base branch: main
The package @braintree/sanitize-url before 6.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper sanitization in sanitizeUrl function.
Publish Date: 2022-03-16
URL: CVE-2021-23648
Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: Low - Integrity Impact: Low - Availability Impact: None
For more information on CVSS3 Scores, click here.Type: Upgrade version
Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-23648
Release Date: 2022-03-16
Fix Resolution (@braintree/sanitize-url): 6.0.0
Direct dependency fix Resolution (mermaid): 9.0.0
Step up your Open Source Security Game with Mend here