andygonzalez2010 / store

demo spring store
0 stars 1 forks source link

CVE-2021-23648 (Medium) detected in sanitize-url-2.1.0.tgz #423

Open mend-bolt-for-github[bot] opened 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

CVE-2021-23648 - Medium Severity Vulnerability

Vulnerable Library - sanitize-url-2.1.0.tgz

A url sanitizer

Library home page: https://registry.npmjs.org/@braintree/sanitize-url/-/sanitize-url-2.1.0.tgz

Path to dependency file: /package.json

Path to vulnerable library: /node_modules/@braintree/sanitize-url/package.json

Dependency Hierarchy: - swagger-ui-3.23.11.tgz (Root Library) - :x: **sanitize-url-2.1.0.tgz** (Vulnerable Library)

Found in HEAD commit: 3f6d614029f4d6cfdddfcef8468949cb7822503c

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 (5.4)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Unchanged - 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: 2024-08-01

Fix Resolution (@braintree/sanitize-url): 6.0.0

Direct dependency fix Resolution (swagger-ui): 4.7.0


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 1 year ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-bolt-for-github[bot] commented 1 year ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.