Live threats

All CVEs / Is-svg Project

CVE-2021-28092Is-svg Project Is-svg

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
2.0%
probability of exploitation in 30 days · percentile 82
Auth required
No
Published
Mar 12, 2021
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

The is-svg package 2.1.0 through 4.2.1 for Node.js uses a regular expression that is vulnerable to Regular Expression Denial of Service (ReDoS). If an attacker provides a malicious string, is-svg will get stuck processing the input for a very long time.

Original NVD text.

What to do

  1. Apply the vendor's security update for Is-svg.
  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 is-svg ≥ 2.1.0 < 4.2.2 4.2.2 npm install is-svg@4.2.2

Per OSV / GitHub Advisories (GHSA-7r28-3m3f-r2pr). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
is-svg_projectis-svg≥ 2.1.0 ≤ 4.2.1

Official sources

References

Links published by the sources. Open them with care.