Live threats

All CVEs / Uri.js Project

CVE-2021-27516Uri.js Project Uri.js

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.5%
probability of exploitation in 30 days · percentile 86
Auth required
No
Published
Feb 22, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Uri.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm urijs < 1.19.6 1.19.6 npm install urijs@1.19.6

Per OSV / GitHub Advisories (GHSA-p6j9-7xhc-rhwp). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
uri.js_projecturi.js< 1.19.6

Official sources

References

Links published by the sources. Open them with care.