{
  "affected": [
    {
      "database_specific": {
        "unresolved_ranges": [
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.0.0"
              }
            ]
          },
          {
            "events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "4.0.0"
              }
            ]
          }
        ]
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e85262ddced0a7f0b6fc8350d236a68bd1e28385"
            }
          ],
          "repo": "https://github.com/quill-mention/quill-mention",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e85262ddced0a7f0b6fc8350d236a68bd1e28385"
            }
          ],
          "repo": "https://github.com/quill-mention/quill-mention",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "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. \r\r**Note:**\r\rIf the mentions list is sourced from unsafe (user-sourced) data, this might allow an injection attack when a Quill user hits @.",
  "id": "CVE-2023-26149",
  "modified": "2026-04-01T23:08:57.649331976Z",
  "published": "2023-09-28T05:15:46.023Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/quill-mention/quill-mention/blob/0aa9847719257496b14ac5401872c4e2ffcbc3d1/src/quill.mention.js%23L391"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.snyk.io/vuln/SNYK-JS-QUILLMENTION-5921549"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/quill-mention/quill-mention/issues/255"
    },
    {
      "type": "FIX",
      "url": "https://github.com/quill-mention/quill-mention/commit/e85262ddced0a7f0b6fc8350d236a68bd1e28385"
    },
    {
      "type": "FIX",
      "url": "https://github.com/quill-mention/quill-mention/pull/341"
    },
    {
      "type": "EVIDENCE",
      "url": "https://codepen.io/ALiangLiang/pen/mdQMJXK"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
      "type": "CVSS_V3"
    }
  ]
}