<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: prince singwal</title>
    <description>The latest articles on DEV Community by prince singwal (@prince_singwal_b00ae29d5d).</description>
    <link>https://dev.to/prince_singwal_b00ae29d5d</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3958033%2F74b38af6-7ee2-4e8d-83bf-dcbdada4a8a9.png</url>
      <title>DEV Community: prince singwal</title>
      <link>https://dev.to/prince_singwal_b00ae29d5d</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/prince_singwal_b00ae29d5d"/>
    <language>en</language>
    <item>
      <title>Finding Vulnerable Quill.js Usage in Production Applications</title>
      <dc:creator>prince singwal</dc:creator>
      <pubDate>Fri, 29 May 2026 08:22:39 +0000</pubDate>
      <link>https://dev.to/prince_singwal_b00ae29d5d/finding-vulnerable-quilljs-usage-in-production-applications-226i</link>
      <guid>https://dev.to/prince_singwal_b00ae29d5d/finding-vulnerable-quilljs-usage-in-production-applications-226i</guid>
      <description>&lt;h1&gt;
  
  
  Finding Vulnerable Quill.js Usage in Production Applications
&lt;/h1&gt;

&lt;p&gt;While testing a web application recently, I noticed that the platform was loading an outdated version of Quill.js from a static asset URL.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwul4mvkvggu6g25upyxy.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fwul4mvkvggu6g25upyxy.png" alt="Vulnerable Quill.js 1.3.6" width="800" height="491"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The application was using:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Quill.js &lt;code&gt;1.3.6&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;After checking the version, I found that this release is affected by multiple publicly disclosed security issues.&lt;/p&gt;

&lt;h2&gt;
  
  
  What is Quill.js?
&lt;/h2&gt;

&lt;p&gt;Quill.js is a popular rich text editor used in many modern web applications for chat systems, post editors, comments, messaging features, and internal dashboards.&lt;/p&gt;

&lt;p&gt;Because rich text editors process user-controlled HTML content, outdated versions can introduce serious client-side security risks.&lt;/p&gt;

&lt;h2&gt;
  
  
  Vulnerabilities Identified
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Reverse Tabnabbing
&lt;/h3&gt;

&lt;p&gt;Affected Versions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Quill.js &lt;code&gt;&amp;lt; 1.3.7&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Severity:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Medium&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reference:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GHSA-588m-9qg5-35pq&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Technical Details
&lt;/h3&gt;

&lt;p&gt;The vulnerable implementation uses:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;target="_blank"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;without:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;rel="noopener"
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This allows the newly opened page to access:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;opener&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;An attacker-controlled page can manipulate the original tab and potentially redirect users to phishing pages.&lt;/p&gt;

&lt;h3&gt;
  
  
  Example Attack Flow
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Victim clicks a malicious link inside editor content&lt;/li&gt;
&lt;li&gt;A new tab opens&lt;/li&gt;
&lt;li&gt;The attacker-controlled page executes:
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;opener&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;location&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="s2"&gt;https://fake-login-page.com&lt;/span&gt;&lt;span class="dl"&gt;"&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;The original application tab gets replaced with a phishing page&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;This issue is commonly known as Reverse Tabnabbing.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Stored XSS via IMG onloadstart Attribute
&lt;/h2&gt;

&lt;p&gt;Affected Versions:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Quill.js &lt;code&gt;1.3.6&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Reference:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;GHSA-4943-9vgg-gr5r&lt;/li&gt;
&lt;li&gt;CVE-2021-3163&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Severity:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Medium&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Technical Details
&lt;/h3&gt;

&lt;p&gt;The HTML editor can allow dangerous attributes on user-controlled HTML content.&lt;/p&gt;

&lt;p&gt;A crafted payload using the &lt;code&gt;onloadstart&lt;/code&gt; attribute on an &lt;code&gt;IMG&lt;/code&gt; tag may trigger arbitrary JavaScript execution.&lt;/p&gt;

&lt;p&gt;Example payload:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;img&lt;/span&gt; &lt;span class="na"&gt;src=&lt;/span&gt;&lt;span class="s"&gt;x&lt;/span&gt; &lt;span class="na"&gt;onloadstart=&lt;/span&gt;&lt;span class="s"&gt;alert(document.domain)&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If user input is improperly sanitized before rendering, this can lead to Stored Cross-Site Scripting (Stored XSS).&lt;/p&gt;

&lt;p&gt;The interesting part is that this issue is disputed by some maintainers because the behavior may depend on browser handling rather than Quill itself. However, from a security testing perspective, allowing executable event handlers in rendered content still creates real attack surface.&lt;/p&gt;

&lt;h2&gt;
  
  
  Why This Matters
&lt;/h2&gt;

&lt;p&gt;Outdated frontend libraries are often overlooked during security reviews.&lt;/p&gt;

&lt;p&gt;Many organizations focus heavily on backend vulnerabilities while client-side dependencies remain outdated for years.&lt;/p&gt;

&lt;p&gt;Rich text editors are especially sensitive because they directly process HTML content generated by users.&lt;/p&gt;

&lt;p&gt;Even medium-severity issues can become dangerous when combined with:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Session-based authentication&lt;/li&gt;
&lt;li&gt;Admin panels&lt;/li&gt;
&lt;li&gt;Internal messaging systems&lt;/li&gt;
&lt;li&gt;Content management features&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>cybersecurity</category>
      <category>javascript</category>
      <category>security</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>
