CVEfocus › CVE database › CVE-2021-32821

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

CVSS 6.2 MediumEPSS 0.7% (higher than 47% of CVEs)Published 2023-01-03Updated 2025-03-10Assigner: GitHub_M

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.

CWE-400

What to do

Ubuntu, npm have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fix pending
3Under investigation
8Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.10mootoolsFix pendingUBUNTU-CVE-2021-32821
Ubuntu 26.04mootoolsUnder investigationUBUNTU-CVE-2021-32821
Ubuntu 25.10mootoolsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-32821
Ubuntu 24.04mootoolsUnder investigationUBUNTU-CVE-2021-32821
Ubuntu 22.04mootoolsUnder investigationUBUNTU-CVE-2021-32821
Ubuntu 20.04mootoolsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-32821
Ubuntu 18.04mootoolsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-32821
Ubuntu 16.04mootoolsWill not fix
Ubuntu decided not to fix this in this release
UBUNTU-CVE-2021-32821
Ubuntu 14.04mootoolsWill not fix
Ubuntu decided not to fix this in this release
Debian 14mootoolsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2021-32821
Debian 13mootoolsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2021-32821
Debian 12mootoolsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2021-32821
npm librarymootoolsFix pendingGHSA-v63q-hgqc-qvpg

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.