Live threats

All CVEs / Litejs

CVE-2021-43309Litejs Uri-template-lite

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.0%
probability of exploitation in 30 days · percentile 63
Auth required
No
Published
Aug 24, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1333
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

An exponential ReDoS (Regular Expression Denial of Service) can be triggered in the uri-template-lite npm package, when an attacker is able to supply arbitrary input to the "URI.expand" method

Original NVD text.

What to do

  1. Apply the vendor's security update for Uri-template-lite.
  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 uri-template-lite < 22.9.0 22.9.0 npm install uri-template-lite@22.9.0

Per OSV / GitHub Advisories (GHSA-chw2-6c7r-37p7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
litejsuri-template-liteall

Official sources

References

Links published by the sources. Open them with care.