Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-32821

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-32821
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 04:47 UTC · Revision 1

Source evidence

CVE-2021-32821

core-osv · Original source

Published 3 Jan 2023, 17:15 UTC

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.

osv:CVE-2021-32821
Complete source record
{
  "id": "2118adc41c673973d349c1319e436de89c99659101c88332a1f0a034cc211f71",
  "url": "https://osv.dev/vulnerability/CVE-2021-32821",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-32821",
    "summary": "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.",
    "evidence": "osv:CVE-2021-32821",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-32821",
      "aliases": [
        "CVE-2021-32821",
        "GHSA-v63q-hgqc-qvpg"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/mootools/mootools-core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "4501a2979f49156e2375808e1b3cbdb6ecaed849"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:mootools:mootools:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.6.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.6.0",
            "1.5.2",
            "1.5.1",
            "1.5.0",
            "1.4.1",
            "1.4.0",
            "1.3.2",
            "1.3.1",
            "1.3",
            "1.2.4",
            "1.2.2",
            "1.2.1",
            "1.2",
            "1.20",
            "1.2.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-32821.json"
          }
        }
      ],
      "modified": "2026-10-24T10:30:22.150656647Z",
      "provider": "osv",
      "references": [
        "https://securitylab.github.com/advisories/GHSL-2020-345-redos-mootools/"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-32821",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 430617,
  "published_at": "2023-01-03T17:15:10.21+00:00"
}