<?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-09-28T15:02:37.405514+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-54606</id>
    <title>fkie_cve-2026-54606</title>
    <updated>2026-09-28T15:02:37.428499+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>SunEditor is a lightweight and powerful WYSIWYG editor in vanilla JavaScript with no dependencies. Prior to 3.1.4, the SunEditor Embed plugin in src/plugins/modal/embed.js parses attacker-controlled raw embed HTML with DOMParser and processes the resulting DOM nodes. When an external script element follows a valid iframe, the plugin recreates a script element from the attacker-controlled src attribute and appends it to the live DOM, causing JavaScript execution in the editor page. If an application stores or reflects SunEditor content without additional backend sanitization, an attacker who can submit embed HTML can trigger stored or reflected cross-site scripting when another user opens, previews, renders, or edits the content, enabling access to page data and account actions as the victim. This issue is fixed in version 3.1.4.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-54606"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-w93q-cq9w-58p7</id>
    <title>GHSA-w93q-cq9w-58p7 — SunEditor Embed Plugin has DOM XSS via External Script Element After Iframe Embed</title>
    <updated>2026-09-28T15:02:37.428603+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: suneditor</p>
<p>Summary</p>
<p>A DOM-based Cross-Site Scripting (XSS) vulnerability exists in the SunEditor Embed plugin. Crafted iframe embed HTML followed by an external &lt;script src=...&gt; element bypasses the plugin’s sanitization logic. The plugin recreates and appends the attacker-controlled script element to the live DOM, causing JavaScript execution in the context of the editor page.</p>
<p>If an application stores or reflects SunEditor content without additional backend sanitization, this can lead to stored or reflected XSS when another user opens, previews, renders, or edits the malicious content.</p>
<p>Details</p>
<p>The Embed plugin parses raw embed HTML and processes the resulting DOM nodes. When a &lt;script&gt; element is included after a valid iframe, the plugin creates a new script element using the attacker-controlled src value and appends it to the DOM.</p>
<p>Relevant behavior:</p>
<p>const embedDOM = new DOMParser().parseFromString(src, 'text/html').body.children;
if (/^script$/i.test(chd.nodeName)) {
  scriptTag = dom.utils.createElement('script', {
    src: chd.getAttribute('src'),
    async: 'true'
  }, null);
  continue;
}
cover.appendChild(scriptTag);</p>
<p>Because the script is newly created and appended, it executes.</p>
<p>PoC</p>
<p>Start a local server hosting a JavaScript payload:</p>
<p>```
mkdir -p /tmp/suneditor-poc
cd /tmp/suneditor-poc</p>
<p>cat &gt; poc.js &lt;&lt;'EOF'
alert(1);
console.log("SunEditor Embed Plugin XSS executed");
EOF</p>
<p>python3 -m http.server 8000
```</p>
<p>Open SunEditor with the Embed plugin enabled, then insert the fol…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-w93q-cq9w-58p7"/>
  </entry>
</feed>
