kapseliboi / coronavirus-dashboard

Dashboard for tracking Coronavirus (COVID-19) across the UK
https://coronavirus.data.gov.uk
MIT License
0 stars 0 forks source link

CVE-2022-48345 (Medium) detected in sanitize-url-5.0.2.tgz #72

Open mend-bolt-for-github[bot] opened 1 year ago

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

CVE-2022-48345 - Medium Severity Vulnerability

Vulnerable Library - sanitize-url-5.0.2.tgz

A url sanitizer

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

Path to dependency file: /package.json

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

Dependency Hierarchy: - swagger-ui-react-4.1.3.tgz (Root Library) - :x: **sanitize-url-5.0.2.tgz** (Vulnerable Library)

Found in HEAD commit: 978d257a5c0738711e941b81eca0b20c284ec902

Found in base branch: v3-development

Vulnerability Details

sanitize-url (aka @braintree/sanitize-url) before 6.0.2 allows XSS via HTML entities.

Publish Date: 2023-02-24

URL: CVE-2022-48345

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

Release Date: 2023-02-24

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

Direct dependency fix Resolution (swagger-ui-react): 4.7.0


Step up your Open Source Security Game with Mend here