<?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://db.gcve.eu</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>Sat, 05 Dec 2026 20:36:35 +0000</lastBuildDate>
    <item>
      <title>fkie_cve-2026-144292</title>
      <link>https://db.gcve.eu/vuln/fkie_cve-2026-144292</link>
      <description>&lt;p&gt;DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.5.0, DOMPurify.sanitize() with SAFE_FOR_TEMPLATES can return attacker-controlled markup whose brace fragments remain separated during sanitization but become adjacent when nested form elements are reparsed through innerHTML. A template engine that compiles the reparsed DOM can evaluate the reconstructed expression, allowing arbitrary JavaScript execution in the page origin. Plain unsplit template expressions remain scrubbed, and exploitation requires the sanitized output to be reparsed and compiled by a template engine. This issue is fixed in version 3.5.0.&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;DOMPurify is a DOM-only cross-site scripting sanitizer for HTML, MathML, and SVG. Prior to 3.5.0, DOMPurify.sanitize() with SAFE_FOR_TEMPLATES can return attacker-controlled markup whose brace fragments remain separated during sanitization but become adjacent when nested form elements are reparsed through innerHTML. A template engine that compiles the reparsed DOM can evaluate the reconstructed expression, allowing arbitrary JavaScript execution in the page origin. Plain unsplit template expressions remain scrubbed, and exploitation requires the sanitized output to be reparsed and compiled by a template engine. This issue is fixed in version 3.5.0.&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/fkie_cve-2026-144292</guid>
    </item>
    <item>
      <title>GHSA-hrxw-jjj6-2g2j — DOMPurify SAFE_FOR_TEMPLATES bypass: nested &lt;form&gt; makes a template expression reassemble when sanitized output is repa…</title>
      <link>https://db.gcve.eu/vuln/ghsa-hrxw-jjj6-2g2j</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: dompurify&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;With `SAFE_FOR_TEMPLATES: true`, DOMPurify 3.4.18 returns a string that contains no `{{` or `}}`, yet becomes a live `{{…}}` expression as soon as it is assigned to `innerHTML`. A template engine that compiles that DOM (verified with Vue 3 in-DOM templates and AngularJS 1.8.3) evaluates the attacker&amp;#39;s expression, giving arbitrary JavaScript execution.&lt;/p&gt;
&lt;p&gt;The attacker controls only the markup passed to `sanitize()`. The only configuration required is `SAFE_FOR_TEMPLATES: true`, which is a protective option used for its documented purpose.&lt;/p&gt;
&lt;p&gt;Reproduced on DOMPurify 3.4.18 (npm `latest`) in Chromium 156, Firefox 157 and WebKit 27.2. The plain `{{…}}` case is still scrubbed correctly, so this is a gap in the existing protection.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;SAFE_FOR_TEMPLATES is enforced in two places in `src/purify.ts`, and neither accounts for how the returned string is parsed a second time by the consumer.&lt;/p&gt;
&lt;p&gt;1. Per text node, during the walk (around line 2122):&lt;/p&gt;
&lt;p&gt;```ts
   /* Sanitize element content to be template-safe */
   if (SAFE_FOR_TEMPLATES &amp;amp;&amp;amp; currentNode.nodeType === NODE_TYPE.text) {
     const content = _stripTemplateExpressions(currentNode.textContent);
     ...
   ```&lt;/p&gt;
&lt;p&gt;2. After serialization, a tree scrub that only runs when the serialized output contains a marker (around line 2872):&lt;/p&gt;
&lt;p&gt;```ts
   if (
     SAFE_FOR_TEMPLATES &amp;amp;&amp;amp;
     regExpTest(EXPRESSIONS.TMPL_MARKER_SERIALIZED, serializedHTML)
   ) {
     _scrubOwnCharacterData(body);
     serializedHTML = WHOLE_DOCU…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; npm: dompurify&lt;/p&gt;
&lt;p&gt;### Summary&lt;/p&gt;
&lt;p&gt;With `SAFE_FOR_TEMPLATES: true`, DOMPurify 3.4.18 returns a string that contains no `{{` or `}}`, yet becomes a live `{{…}}` expression as soon as it is assigned to `innerHTML`. A template engine that compiles that DOM (verified with Vue 3 in-DOM templates and AngularJS 1.8.3) evaluates the attacker&amp;#39;s expression, giving arbitrary JavaScript execution.&lt;/p&gt;
&lt;p&gt;The attacker controls only the markup passed to `sanitize()`. The only configuration required is `SAFE_FOR_TEMPLATES: true`, which is a protective option used for its documented purpose.&lt;/p&gt;
&lt;p&gt;Reproduced on DOMPurify 3.4.18 (npm `latest`) in Chromium 156, Firefox 157 and WebKit 27.2. The plain `{{…}}` case is still scrubbed correctly, so this is a gap in the existing protection.&lt;/p&gt;
&lt;p&gt;### Details&lt;/p&gt;
&lt;p&gt;SAFE_FOR_TEMPLATES is enforced in two places in `src/purify.ts`, and neither accounts for how the returned string is parsed a second time by the consumer.&lt;/p&gt;
&lt;p&gt;1. Per text node, during the walk (around line 2122):&lt;/p&gt;
&lt;p&gt;```ts
   /* Sanitize element content to be template-safe */
   if (SAFE_FOR_TEMPLATES &amp;amp;&amp;amp; currentNode.nodeType === NODE_TYPE.text) {
     const content = _stripTemplateExpressions(currentNode.textContent);
     ...
   ```&lt;/p&gt;
&lt;p&gt;2. After serialization, a tree scrub that only runs when the serialized output contains a marker (around line 2872):&lt;/p&gt;
&lt;p&gt;```ts
   if (
     SAFE_FOR_TEMPLATES &amp;amp;&amp;amp;
     regExpTest(EXPRESSIONS.TMPL_MARKER_SERIALIZED, serializedHTML)
   ) {
     _scrubOwnCharacterData(body);
     serializedHTML = WHOLE_DOCU…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-hrxw-jjj6-2g2j</guid>
    </item>
  </channel>
</rss>
