Infinite loop in Angular SSR HTML parser allows denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-400.
Summary
Angular and @angular/platform-server through 19.2.25, from 20.0.0 before 20.3.31, from 21.0.0 before 21.2.23, and from 22.0.0 before 22.1.6 are affected. The Domino HTML parser loops forever on an incomplete DOCTYPE that ends in whitespace at end of input (CWE-835). A remote unauthenticated attacker can trigger this through server-side HTML parsing, pinning a Node.js SSR worker at full CPU and blocking concurrent and later requests.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| angular | angular | up to 19.2.25; 20.0.0 to before 20.3.31; 21.0.0 to before 21.2.23; 22.0.0 to before 22.1.6 | 20.3.31, 21.2.23, 22.1.6 | Patch available | CNA |
| angular | platform-server | up to 19.2.25; 20.0.0 to before 20.3.31; 21.0.0 to before 21.2.23; 22.0.0 to before 22.1.6 | 20.3.31, 21.2.23, 22.1.6 | Patch available | CNA |
| — | @angular/platform-server (npm) | 22.0.0 to before 22.1.6 | 22.1.6 | Patch available | GHSA-f67j-2jqw-jpq7 |
| — | @angular/platform-server (npm) | 21.0.0 to before 21.2.23 | 21.2.23 | Patch available | GHSA-f67j-2jqw-jpq7 |
| — | @angular/platform-server (npm) | 20.0.0 to before 20.3.31 | 20.3.31 | Patch available | GHSA-f67j-2jqw-jpq7 |
| — | @angular/platform-server (npm) | up to 19.2.25 | — | No fix listed | GHSA-f67j-2jqw-jpq7 |
- angular Vendorangular Affected up to 19.2.25; 20.0.0 to before 20.3.31; 21.0.0 to before 21.2.23; 22.0.0 to before 22.1.6 Fixed in 20.3.31, 21.2.23, 22.1.6 Patch available CNA
- platform-server Vendorangular Affected up to 19.2.25; 20.0.0 to before 20.3.31; 21.0.0 to before 21.2.23; 22.0.0 to before 22.1.6 Fixed in 20.3.31, 21.2.23, 22.1.6 Patch available CNA
- @angular/platform-server (npm) Vendor— Affected 22.0.0 to before 22.1.6 Fixed in 22.1.6 Patch available GHSA-f67j-2jqw-jpq7
- @angular/platform-server (npm) Vendor— Affected 21.0.0 to before 21.2.23 Fixed in 21.2.23 Patch available GHSA-f67j-2jqw-jpq7
- @angular/platform-server (npm) Vendor— Affected 20.0.0 to before 20.3.31 Fixed in 20.3.31 Patch available GHSA-f67j-2jqw-jpq7
- @angular/platform-server (npm) Vendor— Affected up to 19.2.25 Fixed in — No fix listed GHSA-f67j-2jqw-jpq7
Remediation
Upgrade Angular and @angular/platform-server to 20.3.31, 21.2.23, or 22.1.6, matching your release line. The sources list no fixed version for @angular/platform-server.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA angular (angular) Fixed in 20.3.31, 21.2.23, 22.1.6
- Fix · CNA platform-server (@angular/) Fixed in 20.3.31, 21.2.23, 22.1.6
- Fix · GHSA-f67j-2jqw-jpq7 @angular/platform-server (npm) Fixed in 22.1.6 Advisory →
- Fix · GHSA-f67j-2jqw-jpq7 @angular/platform-server (npm) Fixed in 21.2.23 Advisory →
- Fix · GHSA-f67j-2jqw-jpq7 @angular/platform-server (npm) Fixed in 20.3.31 Advisory →
Vendor assessments
Timeline
- 2026-10-14 Threatist record created from CVE-2026-101895
- 2026-10-15 CISA SSVC decision points changed
- 2026-10-15 Priority changed: MEDIUM → HIGH
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
Other 8
- https://github.com/angular/angular/security/advisories/GHSA-f67j-2jqw-jpq7
- https://github.com/angular/angular/commit/3db26e2544964d07a520836ad01f02f36ec88e25
- https://github.com/angular/angular/commit/fc2e8fbc0bda2f5c11585e8a0cbd88c074f5e567
- https://github.com/angular/domino/commit/4d97473116d000e3fd4d6f75ec98cbd67576fa6f
- https://github.com/angular/angular/releases/tag/v20.3.31
- https://github.com/angular/angular/releases/tag/v21.2.23
- https://github.com/angular/angular/releases/tag/v22.1.6
- https://github.com/angular/angular
More angular vulnerabilities
- TI-2026-60076 Angular: SSRF and Cross-Origin Credential Disclosure via URL Resolution Discrepancy in SSR CVSS 4.0HIGH 8.6
- TI-2026-60080 Angular: SSR XSS via Unescaped <template> Content Across DocumentFragment Boundaries in Fallback Raw-Content Elements CVSS 4.0HIGH 8.6
- TI-2026-60078 Angular: SSR XSS via Unescaped Processing Instruction (<?...?>) Nodes in Fallback Raw-Content Elements CVSS 4.0HIGH 8.6
- TI-2025-38694 Server-Side Request Forgery (SSRF) in Angular SSR CVSS 4.0HIGH 8.7
- TI-2026-22098 Angular SSR has an Open Redirect via X-Forwarded-Prefix CVSS 4.0MEDIUM 6.9
- TI-2025-37971 A reflected cross-site scripting (XSS) vulnerability in CKeditor v46.1.0 & Angular… CVSS 3.1MEDIUM 5.4
Sources
- CVE-2026-101895 · CVE Program
- CVE-2026-101895 · NVD
- FIRST EPSS
- CVE-2026-101895 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences