{"id":"CVE-2021-32821","aliases":["DEBIAN-CVE-2021-32821","EUVD-2023-0554","GHSA-v63q-hgqc-qvpg","UBUNTU-CVE-2021-32821"],"status":"published","title":"Regular expression Denial of Service in MooTools","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.","severity":{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00675,"percentile":0.52689,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-1333","CWE-400"],"published":"2023-01-03T00:00:00Z","modified":"2026-10-24T10:30:22Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.5.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5~debian1-3"]},{"source":"osv","ecosystem":"Debian:13","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5~debian1-3"]},{"source":"osv","ecosystem":"Debian:14","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5~debian1-3"]},{"source":"osv","ecosystem":"npm","package":"mootools","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.5.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5~debian1-2.1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5~debian1-2.1"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5~debian1-2.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5~debian1-3"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5~debian1-3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5~debian1-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5~debian1-3build1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"mootools","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.4.5~debian1-3","1.4.5~debian1-3build1"]}],"products":[{"vendor":"mootools","product":"mootools"},{"vendor":"mootools","product":"mootools-core"}],"references":[{"url":"https://securitylab.github.com/advisories/GHSL-2020-345-redos-mootools/","tags":["x_transferred","Exploit","Third Party Advisory","evidence","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32821","tags":["advisory"]},{"url":"https://securitylab.github.com/advisories/GHSL-2020-345-redos-mootools","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-v63q-hgqc-qvpg"},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-32821","tags":["advisory"]},{"url":"https://github.com/vsviridov/mootools-node","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2021-32821","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-32821","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-32821","title":"Regular expression Denial of Service in MooTools","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.","status":"published","published":"2023-01-03T00:00:00Z","modified":"2025-03-10T21:33:30.8Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-400"],"updated_at":"2026-11-02T14:33:07.014772Z"}],"euvd":[{"id":"EUVD-2023-0554","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.","status":"published","published":"2023-01-03T00:00:00Z","modified":"2025-03-10T21:33:30Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"}],"updated_at":"2026-11-02T20:53:08.182954Z"}],"ghsa":[{"id":"GHSA-v63q-hgqc-qvpg","title":"MooTools Regular Expression Denial of Service","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.","status":"published","published":"2023-01-03T18:30:25Z","modified":"2024-04-02T14:07:07Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-400","CWE-1333"],"updated_at":"2026-11-02T14:37:42.744468Z"}],"nvd":[{"id":"CVE-2021-32821","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.","status":"published","published":"2023-01-03T17:15:10.21Z","modified":"2026-06-17T03:53:42.02Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-400","CWE-1333"],"updated_at":"2026-11-02T14:07:07.323379Z"}],"osv":[{"id":"CVE-2021-32821","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.","status":"published","published":"2023-01-03T17:15:10.21Z","modified":"2026-10-24T10:30:22.150656647Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:19.793849Z"},{"id":"DEBIAN-CVE-2021-32821","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.","status":"published","published":"2023-01-03T17:15:10.21Z","modified":"2026-10-23T18:03:14.330328545Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:35.233346Z"},{"id":"GHSA-v63q-hgqc-qvpg","title":"MooTools Regular Expression Denial of Service","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.","status":"published","published":"2023-01-03T18:30:25Z","modified":"2024-04-02T14:41:43.453359Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"cwes":["CWE-1333","CWE-400"],"updated_at":"2026-11-02T15:46:56.639206Z"},{"id":"UBUNTU-CVE-2021-32821","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.","status":"published","published":"2023-01-03T17:15:00Z","modified":"2026-10-17T12:55:46.625623833Z","cvss":[{"version":"3.1","score":6.2,"vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"medium"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","level":"high"}],"updated_at":"2026-11-02T15:54:27.332852Z"}]}}
