Vulnerability · Published Jan 3, 2023 · Assigned by GitHub_M

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

Medium 6.2

In plain English

A medium-severity uncontrolled resource consumption in mootools-core from mootools. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 52% of all known vulnerabilities).

Severity (CVSS 3.1)6.2Medium
Exploit odds (30 days)0.7%top 47.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12mootoolsno fix listedDEBIAN-CVE-2021-32821
Debian:13mootoolsno fix listedDEBIAN-CVE-2021-32821
Debian:14mootoolsno fix listedDEBIAN-CVE-2021-32821
Ubuntu:22.04:LTSmootoolsno fix listedUBUNTU-CVE-2021-32821
Ubuntu:24.04:LTSmootoolsno fix listedUBUNTU-CVE-2021-32821
Ubuntu:25.10mootoolsno fix listedUBUNTU-CVE-2021-32821
Ubuntu:26.04:LTSmootoolsno fix listedUBUNTU-CVE-2021-32821
Ubuntu:26.10mootoolsno fix listedUBUNTU-CVE-2021-32821
npmmootoolsno fix listedGHSA-v63q-hgqc-qvpg

Affected products (as reported)

VendorProductVersions
mootools mootools-core 1.6.0 – through 1.6.0

Weakness: CWE-400 · Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References