<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-22T22:02:45.283951+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/fkie_cve-2026-113650</id>
    <title>fkie_cve-2026-113650</title>
    <updated>2026-10-22T22:02:45.311134+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>ApostropheCMS is an open-source Node.js content management system. In sanitize-html 2.18.0, when an &lt;iframe&gt; is not allowed and disallowedTagsMode is 'discard' (the defaults), its raw-text content is re-sanitized by a recursive call to sanitizeHtml(text, options). The recursion has no bound and starts each nested call with a fresh state. This vulnerability is fixed in 2.18.1.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-113650"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-c9rx-x947-fp3h</id>
    <title>GHSA-c9rx-x947-fp3h — ApostropheCMS sanitize-html: unbounded recursion when re-sanitizing the fallback of a discarded iframe (stack overflow,…</title>
    <updated>2026-10-22T22:02:45.311213+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: sanitize-html</p>
<p>### Summary</p>
<p>Since 2.18.0, when an `&lt;iframe&gt;` is not allowed and `disallowedTagsMode` is `'discard'` (the defaults),
its raw-text content is re-sanitized by a recursive call to `sanitizeHtml(text, options)` (the change
from #5564, fixing #5550). The recursion has no bound and starts each nested call with a fresh state.
Two consequences, both absent from 2.17.7 and 2.17.4:</p>
<p>1. A few kilobytes of unclosed `&lt;iframe&gt;` tags throw `RangeError: Maximum call stack size exceeded`
   with the default options. Any application that sanitizes untrusted HTML with 2.18.0 can be made to
   throw on a small crafted input.
2. `nestingLimit` is not enforced across a discarded iframe: each nested iframe restarts the depth
   count at zero, so the output can be nested arbitrarily deep regardless of the configured limit.</p>
<p>### Affected versions</p>
<p>- 2.18.0 (the current `latest`), and the `main` branch at the time of writing (the recursive call is
  still in `packages/sanitize-html/index.js`, in the `ontext` handler, branch
  `tag === 'iframe' &amp;&amp; !tagAllowed(tag) &amp;&amp; options.disallowedTagsMode === 'discard'`).
- Not affected: 2.17.7 and 2.17.4 (tested with the same inputs below).</p>
<p>Tested with Node.js v26.7.0.</p>
<p>### Reproduction 1: stack overflow with the default options</p>
<p>```js
const sanitizeHtml = require('sanitize-html');</p>
<p>// with 2.18.0:
sanitizeHtml('&lt;iframe&gt;'.repeat(1000));  // 8,000 chars: returns ''
sanitizeHtml('&lt;iframe&gt;'.repeat(2000));  // 16,000 chars: throws RangeError: Maximum call stack siz…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-c9rx-x947-fp3h"/>
  </entry>
</feed>
