{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "19.2.25"
              },
              {
                "introduced": "20.0.0"
              },
              {
                "fixed": "20.3.31"
              },
              {
                "introduced": "21.0.0"
              },
              {
                "fixed": "21.2.23"
              },
              {
                "introduced": "22.0.0"
              },
              {
                "fixed": "22.1.6"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "introduced": "40e2b5b4d13792ed7c46a1d22afcf6c12ac9c679"
            },
            {
              "introduced": "00dcbf2eeb3fd18ed39148e4bc9e49a5b35cae0c"
            },
            {
              "introduced": "862d27f25c4d3bf2fe2918b76759f3f4a83563d1"
            },
            {
              "fixed": "a700a91b1cc99c6df346dcd56901effeaddd9ae6"
            },
            {
              "fixed": "81385eadb821587291a026e57e72e438403d870f"
            },
            {
              "fixed": "356adf749188d996a641181c56621a6285126f3c"
            },
            {
              "fixed": "3db26e2544964d07a520836ad01f02f36ec88e25"
            },
            {
              "fixed": "fc2e8fbc0bda2f5c11585e8a0cbd88c074f5e567"
            }
          ],
          "repo": "https://github.com/angular/angular",
          "type": "GIT"
        },
        {
          "database_specific": {
            "source": "REFERENCES"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "4d97473116d000e3fd4d6f75ec98cbd67576fa6f"
            }
          ],
          "repo": "https://github.com/angular/domino",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-f67j-2jqw-jpq7"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-400",
      "CWE-835"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101895.json"
  },
  "details": "Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages. Prior to 20.3.31, 21.2.23, and 22.1.6, the @angular/platform-server DOM emulation parser can enter an infinite synchronous loop when Angular server-side rendering processes attacker-controlled HTML containing an incomplete DOCTYPE that ends with whitespace at end of input. In Domino lib/HTMLParser.js, after_doctype_name_state emits doctype and EOF tokens without advancing nextchar or leaving the fixed-lookahead state, so the scanner repeatedly handles the same EOF marker. A remote unauthenticated attacker can use this condition through server-side HTML parsing paths such as innerHTML binding to consume a Node.js SSR worker at full CPU, starve the event loop, and stop concurrent and subsequent requests. This issue is fixed in versions 20.3.31, 21.2.23, and 22.1.6.",
  "id": "CVE-2026-101895",
  "modified": "2026-10-16T02:31:14.226288036Z",
  "published": "2026-10-14T15:00:14.385Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/angular/angular/releases/tag/v20.3.31"
    },
    {
      "type": "WEB",
      "url": "https://github.com/angular/angular/releases/tag/v21.2.23"
    },
    {
      "type": "WEB",
      "url": "https://github.com/angular/angular/releases/tag/v22.1.6"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/101xxx/CVE-2026-101895.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/angular/angular/security/advisories/GHSA-f67j-2jqw-jpq7"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-101895"
    },
    {
      "type": "FIX",
      "url": "https://github.com/angular/angular/commit/3db26e2544964d07a520836ad01f02f36ec88e25"
    },
    {
      "type": "FIX",
      "url": "https://github.com/angular/angular/commit/fc2e8fbc0bda2f5c11585e8a0cbd88c074f5e567"
    },
    {
      "type": "FIX",
      "url": "https://github.com/angular/domino/commit/4d97473116d000e3fd4d6f75ec98cbd67576fa6f"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Angular SSR: Denial of Service (DoS) via Infinite Loop on Malformed DOCTYPE"
}