Security mailing lists by PureSourceCode

CVE-2026-101895

HIGH 8.7CVSS 4.0

Angular SSR: Denial of Service (DoS) via Infinite Loop on Malformed DOCTYPE

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.

Published
14 Oct 2026
Last modified
16 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Awaiting Analysis
Weakness
CWE-400CWE-835
Also known as
GHSA-f67j-2jqw-jpq7
Sources
NVDJSONOSV GHSA-f67j-2jqw-jpq7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 8.7 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 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

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm @angular/platform-server >= 22.0.0, < 22.1.6 22.1.6
OSV npm @angular/platform-server >= 21.0.0, < 21.2.23 21.2.23
OSV npm @angular/platform-server >= 20.0.0, < 20.3.31 20.3.31
OSV npm @angular/platform-server <= 19.2.25

References

History

  • 25 Nov 2026 21:22 UTC · NVD: first stored (published 14 Oct 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 28 Sep 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.