GitHub Advisoryadvisory · npm
GHSA-jgw5-rp4p-qhp6 quill-mention Cross-site Scripting vulnerability
MEDIUM
Official page ↗
- Aliases
- CVE-2023-26149
- Ecosystem
- npm
- Packages
- quill-mention
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2023-09-28
Affected packages
• npm quill-mention: < 4.0.0 → fixed in 4.0.0
Description
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 @.
Related
Alias · CVE (1)
- CVE-2023-26149 Versions of the package quill-mention before 4.0.0 are vulnerable to Cross-site Scripting (XSS) due to improper user-input sanitization,… vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-26149 advisory
- https://github.com/quill-mention/quill-mention/issues/255 web
- https://github.com/quill-mention/quill-mention/pull/341 web
- https://github.com/quill-mention/quill-mention/commit/e85262ddced0a7f0b6fc8350d236a68bd1e28385 web
- https://codepen.io/ALiangLiang/pen/mdQMJXK web
- https://github.com/quill-mention/quill-mention package
- https://github.com/quill-mention/quill-mention/blob/0aa9847719257496b14ac5401872c4e2ffcbc3d1/src/quill.mention.js%23L391 web
- https://security.snyk.io/vuln/SNYK-JS-QUILLMENTION-5921549 web