<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Thu, 01 Oct 2026 19:41:52 +0000</lastBuildDate>
    <item>
      <title>GHSA-f67j-2jqw-jpq7 — Angular SSR: Denial of Service (DoS) via Infinite Loop on Malformed DOCTYPE</title>
      <link>https://vulnerability.circl.lu/vuln/ghsa-f67j-2jqw-jpq7</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: @angular/platform-server&lt;/p&gt;
&lt;p&gt;A Denial of Service (DoS) vulnerability exists in `@angular/platform-server`&amp;#39;s DOM emulation parser (`domino`). When processing untrusted user input containing an incomplete DOCTYPE declaration ending with whitespace before EOF (such as `&amp;lt;!DOCTYPE html `), the HTML parser enters an infinite synchronous loop, pegging CPU utilization at 100% and completely freezing the Node.js server process.&lt;/p&gt;
&lt;p&gt;### Technical Description
In Angular Server-Side Rendering (SSR), `@angular/platform-server` uses `domino` to parse and sanitize HTML bound through template bindings (such as `[innerHTML]`) or manipulated via DOM APIs.&lt;/p&gt;
&lt;p&gt;In Domino&amp;#39;s HTML parser (`lib/HTMLParser.js`), tokenizer states that specify fixed lookahead—such as `after_doctype_name_state` (`lookahead = 6`)—rely on the state handler function to explicitly advance the character index pointer (`nextchar`). While branches for whitespace, `&amp;gt;`, and keyword matching advance `nextchar`, the EOF branch (`case -1: // EOF`) emitted doctype and EOF tokens without advancing `nextchar` or transitioning out of the state:&lt;/p&gt;
&lt;p&gt;```javascript
case -1: // EOF
  forcequirks();
  emitDoctype();
  emitEOF();
  break;
```&lt;/p&gt;
&lt;p&gt;Because `nextchar` remained unchanged pointing to the EOF marker character (`\uFFFF`), the scanner loop (`while (nextchar &amp;lt; numchars)`) repeatedly re-invoked `after_doctype_name_state` with `codepoint = EOF` indefinitely. In Node.js&amp;#39;s single-threaded runtime, this synchronous loop starves the event loop entirely.&lt;/p&gt;
&lt;p&gt;### Impact &amp;amp; Reachabilit…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: @angular/platform-server&lt;/p&gt;
&lt;p&gt;A Denial of Service (DoS) vulnerability exists in `@angular/platform-server`&amp;#39;s DOM emulation parser (`domino`). When processing untrusted user input containing an incomplete DOCTYPE declaration ending with whitespace before EOF (such as `&amp;lt;!DOCTYPE html `), the HTML parser enters an infinite synchronous loop, pegging CPU utilization at 100% and completely freezing the Node.js server process.&lt;/p&gt;
&lt;p&gt;### Technical Description
In Angular Server-Side Rendering (SSR), `@angular/platform-server` uses `domino` to parse and sanitize HTML bound through template bindings (such as `[innerHTML]`) or manipulated via DOM APIs.&lt;/p&gt;
&lt;p&gt;In Domino&amp;#39;s HTML parser (`lib/HTMLParser.js`), tokenizer states that specify fixed lookahead—such as `after_doctype_name_state` (`lookahead = 6`)—rely on the state handler function to explicitly advance the character index pointer (`nextchar`). While branches for whitespace, `&amp;gt;`, and keyword matching advance `nextchar`, the EOF branch (`case -1: // EOF`) emitted doctype and EOF tokens without advancing `nextchar` or transitioning out of the state:&lt;/p&gt;
&lt;p&gt;```javascript
case -1: // EOF
  forcequirks();
  emitDoctype();
  emitEOF();
  break;
```&lt;/p&gt;
&lt;p&gt;Because `nextchar` remained unchanged pointing to the EOF marker character (`\uFFFF`), the scanner loop (`while (nextchar &amp;lt; numchars)`) repeatedly re-invoked `after_doctype_name_state` with `codepoint = EOF` indefinitely. In Node.js&amp;#39;s single-threaded runtime, this synchronous loop starves the event loop entirely.&lt;/p&gt;
&lt;p&gt;### Impact &amp;amp; Reachabilit…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/ghsa-f67j-2jqw-jpq7</guid>
    </item>
  </channel>
</rss>
