Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. quill-mention
  4. ›
  5. CVE-2023-26149

CVE-2023-26149: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

September 28, 2023

Versions of the package quill-mention before 4.0.0 is 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

  • codepen.io/ALiangLiang/pen/mdQMJXK
  • github.com/advisories/GHSA-jgw5-rp4p-qhp6
  • github.com/quill-mention/quill-mention/blob/0aa9847719257496b14ac5401872c4e2ffcbc3d1/src/quill.mention.js%23L391
  • github.com/quill-mention/quill-mention/commit/e85262ddced0a7f0b6fc8350d236a68bd1e28385
  • github.com/quill-mention/quill-mention/issues/255
  • github.com/quill-mention/quill-mention/pull/341
  • nvd.nist.gov/vuln/detail/CVE-2023-26149
  • security.snyk.io/vuln/SNYK-JS-QUILLMENTION-5921549

Code Behaviors & Features

Detect and mitigate CVE-2023-26149 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.0.0

Fixed versions

  • 4.0.0

Solution

Upgrade to version 4.0.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/quill-mention/CVE-2023-26149.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 May 2025 12:14:52 +0000.