CVE-2022-1233 – urijs
Package
Manager: npm
Name: urijs
Vulnerable Version: >=0 <1.19.11
Severity
Level: Medium
CVSS v3.1: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
EPSS: 0.00236 pctl0.46452
Details
URL Confusion When Scheme Not Supplied in medialize/uri.js Medialize is a Javascript URL mutation library. When parsing a URL without a scheme and with excessive slashes, like ///www.example.com, URI.js will parse the hostname as null and the path as /www.example.com. Such behaviour is different from that exhibited by browsers, which will parse ///www.example.com as http://www.example.com instead. For example, the following will cause a redirect to http://www.example.com: A fix was released in version 1.19.11.
Metadata
Created: 2022-04-05T00:00:17Z
Modified: 2022-04-15T02:53:33Z
Source: https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/04/GHSA-g694-m8vq-gv9h/GHSA-g694-m8vq-gv9h.json
CWE IDs: ["CWE-115", "CWE-601"]
Alternative ID: GHSA-g694-m8vq-gv9h
Finding: F156
Auto approve: 1