Ecosyste.ms: Advisories
An open API service providing security vulnerability metadata for many open source software ecosystems.
Security Advisories: GSA_kwCzR0hTQS1qZ3c1LXJwNHAtcWhwNs4AA2Hm
quill-mention Cross-site Scripting vulnerability
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 @.
Permalink: https://github.com/advisories/GHSA-jgw5-rp4p-qhp6JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS1qZ3c1LXJwNHAtcWhwNs4AA2Hm
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: about 1 year ago
Updated: about 1 year ago
CVSS Score: 6.1
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Percentage: 0.00129
EPSS Percentile: 0.48787
Identifiers: GHSA-jgw5-rp4p-qhp6, CVE-2023-26149
References:
- https://nvd.nist.gov/vuln/detail/CVE-2023-26149
- https://github.com/quill-mention/quill-mention/issues/255
- https://github.com/quill-mention/quill-mention/pull/341
- https://github.com/quill-mention/quill-mention/commit/e85262ddced0a7f0b6fc8350d236a68bd1e28385
- https://codepen.io/ALiangLiang/pen/mdQMJXK
- https://github.com/quill-mention/quill-mention/blob/0aa9847719257496b14ac5401872c4e2ffcbc3d1/src/quill.mention.js%23L391
- https://security.snyk.io/vuln/SNYK-JS-QUILLMENTION-5921549
- https://github.com/advisories/GHSA-jgw5-rp4p-qhp6
Blast Radius: 16.8
Affected Packages
npm:quill-mention
Dependent packages: 54Dependent repositories: 561
Downloads: 425,142 last month
Affected Version Ranges: < 4.0.0
Fixed in: 4.0.0
All affected versions: 0.0.2, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.5, 0.1.6, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.2.4, 0.2.5, 0.2.6, 0.2.7, 1.0.1, 1.0.2, 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.7, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.0.8, 3.0.9, 3.1.0, 3.2.0, 3.3.0, 3.4.0, 3.4.1
All unaffected versions: 4.0.0, 4.1.0, 5.0.0, 5.0.1, 6.0.0, 6.0.1, 6.0.2