# CVE-2021-32821: Regular expression Denial of Service in MooTools

- Severity: Medium 6.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/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): 0.68%, higher than 53% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-01-03T00:00:00.000Z
- Modified: 2026-06-17T03:53:42.020Z
- Also known as: GHSA-v63q-hgqc-qvpg
- Weaknesses: CWE-400, CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

MooTools is a collection of JavaScript utilities for JavaScript developers. All known versions include a CSS selector parser that is vulnerable to Regular Expression Denial of Service (ReDoS). An attack requires that an attacker can inject a string into a CSS selector at runtime, which is quite common with e.g. jQuery CSS selectors. No patches are available for this issue.

(As written by CVE List.)

## Affected

- mootools mootools-core: from 1.6.0 up to 1.6.0
- mootools (npm): up to 1.5.2
- mootools mootools: up to 1.6.0

## Every score

- GitHub_M: CVSS:3.1 6.2 Medium `CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- 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`

## References

- <https://securitylab.github.com/advisories/GHSL-2020-345-redos-mootools/> (exploit, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-32821> (advisory)
- <https://github.com/vsviridov/mootools-node> (package)
- <https://securitylab.github.com/advisories/GHSL-2020-345-redos-mootools> (advisory)

## Sources

- CVE List: [CVE-2021-32821](https://www.cve.org/CVERecord?id=CVE-2021-32821), CVE Terms of Use, modified 2025-03-10
- GitHub Advisory Database: [GHSA-v63q-hgqc-qvpg](https://github.com/advisories/GHSA-v63q-hgqc-qvpg), CC-BY-4.0, modified 2024-04-02
- NVD: [CVE-2021-32821](https://nvd.nist.gov/vuln/detail/CVE-2021-32821), Public domain, modified 2026-06-17

---

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