Vulnerabilities in pkg:npm/quill
PACKAGECVE-2025-15056 is a LOW (CVSS 6.1) cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting Quill libraries in the npm ecosystem. The issue involves quill is vulnerable to xss via html export feature. Remediation is available in the latest vendor maintenance releases.
pkg:npm/quill
Vulnerability advisories affecting package pkg:npm/quill. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-v3m3-f69x-jf25 | CVE-2025-15056 | LOW | Quill is vulnerable to XSS via HTML export feature |
| GHSA-4943-9vgg-gr5r | CVE-2021-3163 | MODERATE | Cross-site Scripting in quill |
| GHSA-588m-9qg5-35pq | - | MODERATE | Reverse Tabnabbing in quill |
CVE-2025-15056 at a Glance
Security Impact
CVSS: 6.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2025-15056
To remediate this vulnerability, upgrade all affected Quill dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
npm install quill@Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
npm ls quill
How to Check if You Are Affected
To determine whether your Node.js application is affected by CVE-2025-15056, inspect your project dependencies using npm:
npm ls quill
Analyze the terminal output to locate any version of Quill in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: The npm ls quill command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In Quill, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2025-15056 Affected Quill Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
quill
|
npm |
2.0.3
All 1 versions
2.0.3
|
None specified
|
References
Frequently Asked Questions
What is CVE-2025-15056?
Which Quill versions are affected?
What version fixes CVE-2025-15056?
Is quill affected?
What is the CVSS score of CVE-2025-15056?
What CWE is associated with CVE-2025-15056?
How can I check npm dependencies for CVE-2025-15056?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-v3m3-f69x-jf25",
"modified" : "2026-04-10T19:34:23Z",
"published" : "2026-01-13T21:31:46Z",
"aliases" : [ "CVE-2025-15056" ],
"summary" : "Quill is vulnerable to XSS via HTML export feature",
"details" : "A lack of data validation vulnerability in the HTML export feature in Quill in allows Cross-Site Scripting (XSS).\n\nThis issue affects Quill: 2.0.3.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N/E:P"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "npm",
"name" : "quill"
},
"versions" : [ "2.0.3" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-15056"
}, {
"type" : "WEB",
"url" : "https://fluidattacks.com/advisories/diomedes"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/slab/quill"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-74", "CWE-79" ],
"severity" : "LOW",
"github_reviewed" : true,
"github_reviewed_at" : "2026-01-16T16:58:02Z",
"nvd_published_at" : "2026-01-13T21:15:49Z"
}
}