# CVE-2021-28092: Regular Expression Denial of Service (ReDoS)

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.03%, higher than 81% of CVEs (2026-12-01)
- Published: 2021-03-12T21:31:35.000Z
- Modified: 2026-06-17T03:45:47.960Z
- Also known as: GHSA-7r28-3m3f-r2pr
- Weaknesses: CWE-400, CWE-1333
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- is-svg (npm): from 2.1.0 before 4.2.2
- is-svg_project is-svg: from 2.1.0 up to 4.2.1

## Every score

- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/sindresorhus/is-svg/releases> (release-notes, third-party-advisory, web)
- <https://www.npmjs.com/package/is-svg> (product, web)
- <https://github.com/sindresorhus/is-svg/releases/tag/v4.2.2> (release-notes, third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20210513-0008/> (third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-28092> (advisory)
- <https://github.com/sindresorhus/is-svg/commit/01f8a087fab8a69c3ac9085fbb16035907ab6a5b> (web)
- <https://security.netapp.com/advisory/ntap-20210513-0008> (web)

## Sources

- CVE List: [CVE-2021-28092](https://www.cve.org/CVERecord?id=CVE-2021-28092), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-7r28-3m3f-r2pr](https://github.com/advisories/GHSA-7r28-3m3f-r2pr), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2021-28092](https://nvd.nist.gov/vuln/detail/CVE-2021-28092), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-28092 · Whole record: https://cve.day/CVE-2021-28092.json · Rebuilt by cve.day 2026-11-25T22:58:00.285Z
