VDB

CVE-2021-32821

CVE-2021-32821 PUBLISHED CVSS 6.2 MEDIUM

Regular expression Denial of Service in MooTools

Reported by github_m · Published January 3, 2023

mootools is fixed in 1.5.2 (npm)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
mootoolsnpm1.5.2
mootoolsmootools1.6.0
mootools-coremootools1.6.0

Risk scores

CVSS 3.1
6.2
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected products

VendorProductVersions
mootoolsmootools-core1.6.0
mootoolsmootools-core1.6.0

Timeline

  • Jan 3, 2023 CVE Published
  • Jan 4, 2023 EPSS Score (30 in total, the first dated here)
  • Mar 10, 2025 CVE Updated
  • Mar 10, 2026 Security Advisory
  • Aug 1, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-32821
vulnetix vdb fixes CVE-2021-32821

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-32821/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›