CVE-2021-28092
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 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
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 High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - CVSS 2.0
- 5.0 Medium
AV: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 High
CVSS: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 High
CVSS: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 High
CVSS: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
| Package | Affected | Fixed |
|---|---|---|
is-svgnpm |
2.1.0 up to 4.2.2 | 4.2.2 |
is-svgTuxCare: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-svgRoot: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-svgRoot: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
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE 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
github.com/sindresorhus/is-svg/releases
npmjs.com/package/is-svg
github.com/sindresorhus/is-svg/releases/tag/v4.2.2
security.netapp.com/advisory/ntap-20210513-0008
nvd.nist.gov/vuln/detail/CVE-2021-28092
github.com/sindresorhus/is-svg/commit/01f8a087fab8a69c3ac9085fbb16035907ab6a5b
github.com/advisories/GHSA-7r28-3m3f-r2pr