Vulnerability · Published Oct 14, 2026 · Assigned by GitHub_M

CVE-2026-101895Angular SSR: Denial of Service (DoS) via Infinite Loop on Malformed DOCTYPE

High 8.7

In plain English

A high-severity uncontrolled resource consumption in angular from angular. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.7High
Exploit odds (30 days)0.9%top 40.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12angular.jsno fix listedDEBIAN-CVE-2026-101895
Debian:13angular.jsno fix listedDEBIAN-CVE-2026-101895
npm@angular/platform-server22.1.6GHSA-f67j-2jqw-jpq7
npm@angular/platform-server21.2.23GHSA-f67j-2jqw-jpq7
npm@angular/platform-server20.3.31GHSA-f67j-2jqw-jpq7
npm@angular/platform-serverno fix listedGHSA-f67j-2jqw-jpq7

Affected products (as reported)

VendorProductVersions
angular angular <= 19.2.25>= 20.0.0, < 20.3.31>= 21.0.0, < 21.2.23>= 22.0.0, < 22.1.6
@angular/ platform-server <= 19.2.25>= 20.0.0, < 20.3.31>= 21.0.0, < 21.2.23>= 22.0.0, < 22.1.6

Weakness: CWE-400, CWE-835 · 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

References