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

- Severity: Medium 5.3 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- 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): 1.65%, higher than 77% of CVEs (2026-12-01)
- Published: 2021-05-31T13:50:11.522Z
- Modified: 2026-07-08T06:49:29.628Z
- Also known as: GHSA-c56f-grv3-gpfr, SNYK-JS-FORMS-1296389
- Weaknesses: CWE-400
- Assigned by: snyk

## Description

The package forms before 1.2.1, from 1.3.0 and before 1.3.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via email validation.

(As written by CVE List.)

## Affected

- forms: from unspecified before 1.2.1; from 1.3.0 before unspecified; from unspecified before 1.3.2
- forms (npm): before 1.3.2
- forms_project forms: before 1.2.1; from 1.3.0 before 1.3.2

## Every score

- snyk: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://snyk.io/vuln/SNYK-JS-FORMS-1296389> (patch, third-party-advisory, web)
- <https://github.com/caolan/forms/pull/214> (third-party-advisory, web)
- <https://github.com/caolan/forms/pull/214/commits/d4bd5b5febfe49c1f585f162e04ec810f8dc47a0> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-23388> (advisory)

## Sources

- CVE List: [CVE-2021-23388](https://www.cve.org/CVERecord?id=CVE-2021-23388), CVE Terms of Use, modified 2024-09-17
- GitHub Advisory Database: [GHSA-c56f-grv3-gpfr](https://github.com/advisories/GHSA-c56f-grv3-gpfr), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2021-23388](https://nvd.nist.gov/vuln/detail/CVE-2021-23388), Public domain, modified 2026-06-17

---

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