Every CVE Search/ Get API key

CVE-2021-28092

Regular Expression Denial of Service (ReDoS)

7.5 HighFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

2.03%Up 1.0 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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.

Record
CVE-2021-28092
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-1333
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-28092
Updated
2026-11-02
EUVDEUVD-2021-0627 No score

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.

Record
EUVD-2021-0627
Updated
2026-11-03
GitHub AdvisoriesGHSA-7r28-3m3f-r2pr 7.5

Regular Expression Denial of Service (ReDoS)

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.

Record
GHSA-7r28-3m3f-r2pr
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02
OSV 7.5

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.

Record
CVE-2021-28092
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-7r28-3m3f-r2pr 7.5

Regular Expression Denial of Service (ReDoS)

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.

Record
GHSA-7r28-3m3f-r2pr
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-400
Updated
2026-11-02
OSVCLSA-2026-1775003203 No score

TuxCare security update for is-svg (2 CVEs)

TuxCare rebuilt is-svg to address 2 CVEs. Fixed in 2.1.0-tuxcare.1.

Record
CLSA-2026-1775003203
Updated
2026-11-02
OSVROOT-APP-NPM-CVE-2021-28092 No score

CVE-2021-28092 in is-svg - Patched by Root

Root has patched CVE-2021-28092 in the is-svg package for Root:npm. Multiple fixed versions available.

Record
ROOT-APP-NPM-CVE-2021-28092
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
is-svg
npm
2.1.0 up to 4.2.2
4.2.2
is-svg
TuxCare:npm
From an advisory covering 2 CVEs
2.1.0-tuxcare.0 up to 2.1.0-tuxcare.1, plus listed versions
2.1.0
2.1.0-tuxcare.1
is-svg
Root:npm
before 2.1.0-aikido.1
2.1.0-aikido.13.0.0-aikido.13.0.0-aikido.22.1.0-aikido.2
@rootio/is-svg
Root:npm
before 2.1.0-root.io.1
2.1.0-root.io.13.0.0-root.io.13.0.0-root.io.22.1.0-root.io.2

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-28092 is a high vulnerability (CVSS 7.5) in Is-svg Project Is-svg, published March 12, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.03%, the 81st percentile. Fixed in is-svg 4.2.2.

References

MoveEnter Open