{
  "schema_version": "1.4.0",
  "id": "GHSA-4943-9vgg-gr5r",
  "modified": "2024-08-09T14:41:50Z",
  "published": "2021-05-10T15:38:12Z",
  "aliases": [
    "CVE-2021-3163"
  ],
  "summary": "Cross-site Scripting in quill",
  "details": "A vulnerability in the HTML editor of Slab Quill allows an attacker to execute arbitrary JavaScript by storing an XSS payload (a crafted `onloadstart` attribute of an IMG element) in a text field. No patch exists and no further releases are planned.\n\nThis CVE is disputed. Researchers have claimed that this issue is not within the product itself, but is intended behavior in a web browser. More information can be found [here](https://github.com/quilljs/quill/issues/3364).",
  "severity": [
    {
      "type": "CVSS_V3",
      "score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"
    }
  ],
  "affected": [
    {
      "package": {
        "ecosystem": "npm",
        "name": "quill"
      },
      "ranges": [
        {
          "type": "ECOSYSTEM",
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "1.3.7"
            }
          ]
        }
      ]
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-3163"
    },
    {
      "type": "WEB",
      "url": "https://github.com/quilljs/quill/issues/3273"
    },
    {
      "type": "WEB",
      "url": "https://github.com/quilljs/quill/issues/3359"
    },
    {
      "type": "WEB",
      "url": "https://github.com/quilljs/quill/issues/3364"
    },
    {
      "type": "WEB",
      "url": "https://burninatorsec.blogspot.com/2021/04/cve-2021-3163-xss-slab-quill-js.html"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/quilljs/quill"
    },
    {
      "type": "WEB",
      "url": "https://quilljs.com"
    }
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-79"
    ],
    "severity": "MODERATE",
    "github_reviewed": true,
    "github_reviewed_at": "2021-05-07T18:12:32Z",
    "nvd_published_at": "2021-04-12T21:15:00Z"
  }
}