Skip to content

Improper Validation and Sanitization in url-parse

Moderate severity GitHub Reviewed Published Jan 6, 2022 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

npm url-parse (npm)

Affected versions

< 1.4.5

Patched versions

1.4.5

Description

Insufficient validation and sanitization of user input exists in url-parse npm package version 1.4.4 and earlier may allow attacker to bypass security checks.

References

Published by the National Vulnerability Database Feb 4, 2020
Reviewed Mar 22, 2021
Published to the GitHub Advisory Database Jan 6, 2022
Last updated Feb 1, 2023

Severity

Moderate
5.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N

Weaknesses

CVE ID

CVE-2020-8124

GHSA ID

GHSA-46c4-8wrp-j99v

Source code

No known source code
Checking history
See something to contribute? Suggest improvements for this vulnerability.