Open mend-for-github-com[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: /barista-web/package.json
Path to vulnerable library: /barista-web/node_modules/@braintree/sanitize-url/package.json,/barista-scan/node_modules/@braintree/sanitize-url/package.json
Dependency Hierarchy: - hads-2.1.0.tgz (Root Library) - mermaid-8.5.2.tgz - :x: **sanitize-url-3.1.0.tgz** (Vulnerable Library)
Found in HEAD commit: 2b8e77b2ff0d688bfd2ffb44061287e82fa71967
Found in base branch: master
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
CVE-2021-23648 - Medium Severity Vulnerability
Vulnerable Library - sanitize-url-3.1.0.tgz
A url sanitizer
Library home page: https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-3.1.0.tgz
Path to dependency file: /barista-web/package.json
Path to vulnerable library: /barista-web/node_modules/@braintree/sanitize-url/package.json,/barista-scan/node_modules/@braintree/sanitize-url/package.json
Dependency Hierarchy: - hads-2.1.0.tgz (Root Library) - mermaid-8.5.2.tgz - :x: **sanitize-url-3.1.0.tgz** (Vulnerable Library)
Found in HEAD commit: 2b8e77b2ff0d688bfd2ffb44061287e82fa71967
Found in base branch: master
Vulnerability Details
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
CVSS 3 Score Details (6.1)
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.Suggested Fix
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