Versions of the package quill-mention before 4.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper user-input sanitization, via the renderList function.
**Note:**
If the mentions list is sourced from unsafe (user-sourced) data, this might allow an injection attack when a Quill user hits @.
References
Link | Resource |
---|---|
https://codepen.io/ALiangLiang/pen/mdQMJXK | Exploit |
https://github.com/quill-mention/quill-mention/blob/0aa9847719257496b14ac5401872c4e2ffcbc3d1/src/quill.mention.js%23L391 | Broken Link |
https://github.com/quill-mention/quill-mention/commit/e85262ddced0a7f0b6fc8350d236a68bd1e28385 | Patch |
https://github.com/quill-mention/quill-mention/issues/255 | Exploit Issue Tracking |
https://github.com/quill-mention/quill-mention/pull/341 | Issue Tracking Patch |
https://security.snyk.io/vuln/SNYK-JS-QUILLMENTION-5921549 | Third Party Advisory |
Configurations
History
02 Oct 2023, 17:38
Type | Values Removed | Values Added |
---|---|---|
References | (MISC) https://github.com/quill-mention/quill-mention/pull/341 - Issue Tracking, Patch | |
References | (MISC) https://github.com/quill-mention/quill-mention/issues/255 - Exploit, Issue Tracking | |
References | (MISC) https://github.com/quill-mention/quill-mention/blob/0aa9847719257496b14ac5401872c4e2ffcbc3d1/src/quill.mention.js%23L391 - Broken Link | |
References | (MISC) https://security.snyk.io/vuln/SNYK-JS-QUILLMENTION-5921549 - Third Party Advisory | |
References | (MISC) https://codepen.io/ALiangLiang/pen/mdQMJXK - Exploit | |
References | (MISC) https://github.com/quill-mention/quill-mention/commit/e85262ddced0a7f0b6fc8350d236a68bd1e28385 - Patch | |
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 6.1 |
CPE | cpe:2.3:a:quill-mention:quill_mention:*:*:*:*:*:node.js:*:* | |
First Time |
Quill-mention quill Mention
Quill-mention |
|
CWE | CWE-79 |
28 Sep 2023, 05:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2023-09-28 05:15
Updated : 2024-02-28 20:33
NVD link : CVE-2023-26149
Mitre link : CVE-2023-26149
CVE.ORG link : CVE-2023-26149
JSON object : View
Products Affected
quill-mention
- quill_mention
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')