CVE-2021-3163: Cross-site Scripting in quill

quill Updated 02 Oct 2025

Summary

10/05/2021
No i
Moderate
4.2

CVE-2021-3163: Cross-site Scripting in quill. Affects quill versions < 1.3.7. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Quill is an HTML editor used for rich text editing in web applications. It provides a powerful and customizable interface for creating and editing content. However, a vulnerability has been discovered in Quill that allows an attacker to execute arbitrary JavaScript code by exploiting a cross-site scripting (XSS) vulnerability. This vulnerability arises from the improper handling of user input in a text field. The affected versions of Quill range from 0 to 1.3.7.

Vulnerability Detail

The vulnerability in Quill allows an attacker to store a crafted XSS payload in a text field. Specifically, the payload is an onloadstart attribute of an IMG element. When this payload is rendered in a web browser, the JavaScript code embedded in the payload is executed, leading to potential malicious actions. The impact of this vulnerability can range from stealing sensitive user information to performing unauthorized actions on behalf of the user. It is important to note that there is currently no patch available for this vulnerability, and no further releases of Quill are planned.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there is no specific workaround provided for this vulnerability. However, implementing strict input validation and sanitization measures can help mitigate the risk of XSS attacks in general. It is also advisable to follow best practices for web application security, such as using content security policies and input filtering.

Conclusion

In conclusion, the vulnerability in Quill allows for cross-site scripting (XSS) attacks, which can have serious consequences such as data theft and unauthorized actions. It is important to take proactive measures to protect web applications from XSS vulnerabilities, including implementing input validation and sanitization techniques and considering alternative HTML editors. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for quill →

Share this vulnerability

FAQ

The impact of this vulnerability can range from stealing sensitive user information to performing unauthorized actions on behalf of the user.

Yes, all versions of Quill from 0 to 1.3.7 are affected by this vulnerability.

No, there is currently no patch available for this vulnerability, and no further releases of Quill are planned.

To protect your web application from XSS attacks, it is important to implement proper input validation and sanitization techniques, use content security policies, and regularly update and monitor the security of your software stack.

Yes, there are alternative HTML editors available that do not suffer from this XSS vulnerability. It is recommended to consider using one of these alternatives.

Related vulnerabilities

Recent vulnerabilities recorded for quill.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback