Skip to content

CVE-2021-27516 URIjs Hostname spoofing via backslashes in URL

HighCVSS 7.5 EPSS 2.5%
Published
Updated
Exploit status
No public exploit known

Description

URI.js (aka urijs) before 1.19.6 mishandles certain uses of backslash such as http:/ and interprets the URI as a relative path.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
npm urijs(npm) < 1.19.6 1.19.6 Fixed
uri.js project uri.js < 1.19.6 1.19.6 Fixed

Affected products

ProductAffected versionsFixed in
npm urijs(npm) < 1.19.6 1.19.6
uri.js project uri.js < 1.19.6 1.19.6

References