CVE-2025-15056: Quill is vulnerable to XSS via HTML export feature
A lack of data validation vulnerability in the HTML export feature in Quill in allows Cross-Site Scripting (XSS).
This issue affects Quill: 2.0.3.
Other sources
The Vaadin Rich Text Editor exports a video embed without escaping its value, and then parses the resulting HTML into live DOM. A value crafted to break out of the href attribute therefore runs script in the viewer's browser. An attacker who can edit shared content pastes a video embed carrying the payload, the delta is stored, and the script runs when any user opens the page, including in read only mode.
Only content persisted through asDelta() is affected. The default HTML value, set and read through setValue and getValue, is sanitized on the server with a safelist that has no iframe, so the embed does not survive that path. Vaadin 24 and older are not affected: they build the HTML value from the editor's own innerHTML, which the browser escapes.
Users of affected versions should apply the following mitigation or upgrade. Releases that have fixed this issue include:
Product version Vaadin 25.0.0 - 25.0.13 Vaadin 25.1.0 - 25.1.13 Vaadin 25.2.0 - 25.2.12 Vaadin 25.3.0 - 25.3.4
Mitigation No fixed release on this line, upgrade to 25.2.13 or newer No fixed release on this line, upgrade to 25.2.13 or newer Upgrade to 25.2.13 Upgrade to 25.3.5
— OSV
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
Vaadin Rich Text Editorto a version that resolves this vulnerability.Fixed in 25.2.13 - Upgrade
Upgrade
Vaadin Rich Text Editorto a version that resolves this vulnerability.Fixed in 25.3.5
Event History
Frequently Asked Questions
What is the severity of CVE-2025-15056?
CVE-2025-15056 has a moderate severity rating due to its potential for Cross-Site Scripting (XSS) attacks.
How do I fix CVE-2025-15056?
To fix CVE-2025-15056, update Quill to a version that includes data validation improvements in the HTML export feature.
What software is affected by CVE-2025-15056?
CVE-2025-15056 specifically affects Quill version 2.0.3.
What are the risks of not addressing CVE-2025-15056?
Not addressing CVE-2025-15056 can lead to the possibility of an attacker exploiting XSS vulnerabilities to inject malicious scripts.
How can I detect CVE-2025-15056 in my application?
You can detect CVE-2025-15056 by scanning your application for the specific version of Quill and reviewing the implementation of the HTML export feature.