{"id":"CVE-2026-101895","published":"2026-10-14T15:00:14Z","modified":"2026-10-14T17:38:10Z","title":"Angular SSR: Denial of Service (DoS) via Infinite Loop on Malformed DOCTYPE","vendor":"angular","product":"angular","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00872,"percentile":0.59755,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/angular/angular/security/advisories/GHSA-f67j-2jqw-jpq7","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/angular/angular/commit/3db26e2544964d07a520836ad01f02f36ec88e25","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/commit/fc2e8fbc0bda2f5c11585e8a0cbd88c074f5e567","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/domino/commit/4d97473116d000e3fd4d6f75ec98cbd67576fa6f","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/releases/tag/v20.3.31","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/releases/tag/v21.2.23","tags":["x_refsource_MISC"]},{"url":"https://github.com/angular/angular/releases/tag/v22.1.6","tags":["x_refsource_MISC"]}],"priority":{"score":18.0,"factors":[{"name":"EPSS percentile","points":11.95},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"angular","affectedVersions":[{"vendor":"angular","product":"angular","versions":["<= 19.2.25",">= 20.0.0, < 20.3.31",">= 21.0.0, < 21.2.23",">= 22.0.0, < 22.1.6"]},{"vendor":"@angular/","product":"platform-server","versions":["<= 19.2.25",">= 20.0.0, < 20.3.31",">= 21.0.0, < 21.2.23",">= 22.0.0, < 22.1.6"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-10-14T17:37:35.859234Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@angular/platform-server","vulnerableRanges":[">=22.0.0, <22.1.6",">=21.0.0, <21.2.23",">=20.0.0, <20.3.31","<=19.2.25"],"patched":["22.1.6","21.2.23","20.3.31"],"from":["GHSA-f67j-2jqw-jpq7"],"provenance":"source"}],"summary":{"text":"The Domino-based DOM emulation parser in @angular/platform-server, used by Angular server-side rendering, can enter an infinite synchronous loop when it processes an incomplete DOCTYPE that ends with whitespace at end of input. An unauthenticated remote attacker can trigger this by supplying the malicious HTML through server-side parsing paths such as innerHTML binding, requiring no authentication, user interaction, or special configuration, and thereby pin a Node.js SSR worker at full CPU and stall concurrent and subsequent requests.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:35:00Z"},"euvd":{"id":"EUVD-2026-101126","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-88056","published":"2026-09-10","fixed":"22.1.4","kev":false},{"cve":"CVE-2026-88058","published":"2026-09-10","fixed":"22.1.4","kev":false},{"cve":"CVE-2026-88060","published":"2026-09-10","fixed":"22.1.4","kev":false,"link":{"from":"CVE-2026-88060","to":"CVE-2026-101895","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/platform-server","fromFixed":"22.1.4","toFixed":"22.1.6","daysApart":34},{"kind":"version-step","provenance":"source","package":"npm:@angular/platform-server","fromFixed":"21.2.22","toFixed":"21.2.23","daysApart":34}]}},{"cve":"CVE-2026-101895","published":"2026-10-14","fixed":"22.1.6","kev":false},{"cve":"CVE-2026-111754","published":"2026-11-03","fixed":"22.2.1","kev":false,"link":{"from":"CVE-2026-101895","to":"CVE-2026-111754","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@angular/platform-server","fromFixed":"22.1.6","toFixed":"22.2.1","daysApart":20},{"kind":"version-step","provenance":"source","package":"npm:@angular/platform-server","fromFixed":"21.2.23","toFixed":"21.2.25","daysApart":20}]}}],"package":"npm:@angular/platform-server"}}