CVE-2021-32821
JSON

6.2medium

Regular expression Denial of Service in MooTools

Severity
6.2medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.68% (higher than 53% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-v63q-hgqc-qvpg

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

Product or packageVersionsReported by
mootools mootools-corefrom 1.6.0 up to 1.6.0CVE List
mootools (npm)up to 1.5.2GitHub Advisory Database
mootools mootoolsup to 1.6.0NVD

All scores

GitHub_M6.2medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-400CWE-1333

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

MooTools es una colección de utilidades de JavaScript para desarrolladores de JavaScript. Todas las versiones conocidas incluyen un analizador selector de CSS que es vulnerable a la denegación de servicio de expresión regular (ReDoS). Un ataque requiere que un atacante pueda inyectar una cadena en un selector CSS en tiempo de ejecución, lo cual es bastante común, por ejemplo, con los selectores CSS jQuery. No hay parches disponibles para este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32821 changed 2025-03-10CVE Terms of Use
GitHub Advisory DatabaseGHSA-v63q-hgqc-qvpg changed 2024-04-02CC-BY-4.0
NVDCVE-2021-32821 changed 2026-06-17Public domain