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).
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mootools | no fix listed | DEBIAN-CVE-2021-32821 |
| Debian:13 | mootools | no fix listed | DEBIAN-CVE-2021-32821 |
| Debian:14 | mootools | no fix listed | DEBIAN-CVE-2021-32821 |
| Ubuntu:22.04:LTS | mootools | no fix listed | UBUNTU-CVE-2021-32821 |
| Ubuntu:24.04:LTS | mootools | no fix listed | UBUNTU-CVE-2021-32821 |
| Ubuntu:25.10 | mootools | no fix listed | UBUNTU-CVE-2021-32821 |
| Ubuntu:26.04:LTS | mootools | no fix listed | UBUNTU-CVE-2021-32821 |
| Ubuntu:26.10 | mootools | no fix listed | UBUNTU-CVE-2021-32821 |
| npm | mootools | no fix listed | GHSA-v63q-hgqc-qvpg |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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