6.1medium
quill-mention Cross-site Scripting vulnerability
- Severity
- 6.1medium CVSS:3.1 by snyk
- Exploit likelihood
- 0.71% (higher than 54% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- snyk
- Also known as
- GHSA-jgw5-rp4p-qhp6
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 @.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| quill-mention | before 4.0.0 | CVE List |
| quill-mention (npm) | before 4.0.0 | GitHub Advisory Database |
| quill-mention quill_mention | before 4.0.0 | NVD |
All scores
| snyk | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N/E:P |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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 @.
NVD (es)
Las versiones del paquete quill-mention anteriores a 4.0.0 son vulnerables a Cross-site Scripting (XSS) debido a una incorrecta sanitización de la entrada del usuario, a través de la función renderList. **Nota:** Si la lista de menciones proviene de datos no seguros (procedentes del usuario), esto podría permitir un ataque de inyección cuando un usuario de Quill presiona @.
References
| https://security.snyk.io/vuln/SNYK-JS-QUILLMENTION-5921549 | third-party-advisory, web | |
| https://github.com/quill-mention/quill-mention/blob/0aa9847719257496b14ac5401872c4e2ffcbc3d1/src/quill.mention.js%23L391 | broken-link, web | |
| https://codepen.io/ALiangLiang/pen/mdQMJXK | exploit, web | |
| https://github.com/quill-mention/quill-mention/issues/255 | exploit, issue-tracking, web | |
| https://github.com/quill-mention/quill-mention/pull/341 | issue-tracking, patch, web | |
| https://github.com/quill-mention/quill-mention/commit/e85262ddced0a7f0b6fc8350d236a68bd1e28385 | patch, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-26149 | advisory | |
| https://github.com/quill-mention/quill-mention | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-26149 changed 2024-09-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-jgw5-rp4p-qhp6 changed 2023-11-08 | CC-BY-4.0 |
| NVD | CVE-2023-26149 changed 2026-06-17 | Public domain |