# CVE-2021-3163: Cross-site Scripting in quill

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.53%, higher than 75% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2021-04-12T20:35:07.000Z
- Modified: 2026-06-17T04:04:46.467Z
- Also known as: GHSA-4943-9vgg-gr5r
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: mitre

## Description

A vulnerability in the HTML editor of Slab Quill 4.8.0 allows an attacker to execute arbitrary JavaScript by storing an XSS payload (a crafted onloadstart attribute of an IMG element) in a text field. Note: Researchers have claimed that this issue is not within the product itself, but is intended behavior in a web browser

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- quill (npm): up to 1.3.7
- slab quill: 4.8.0

## Every score

- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://burninatorsec.blogspot.com/2021/04/cve-2021-3163-xss-slab-quill-js.html> (exploit, third-party-advisory, web)
- <https://github.com/quilljs/quill/issues/3364> (exploit, issue-tracking, third-party-advisory, web)
- <https://quilljs.com> (product, web)
- <https://github.com/quilljs/quill/issues/3273> (broken-link, issue-tracking, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3163> (advisory)
- <https://github.com/quilljs/quill/issues/3359> (web)
- <https://github.com/quilljs/quill> (package)

## Sources

- CVE List: [CVE-2021-3163](https://www.cve.org/CVERecord?id=CVE-2021-3163), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-4943-9vgg-gr5r](https://github.com/advisories/GHSA-4943-9vgg-gr5r), CC-BY-4.0, modified 2024-08-09
- NVD: [CVE-2021-3163](https://nvd.nist.gov/vuln/detail/CVE-2021-3163), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-3163 · Whole record: https://cve.day/CVE-2021-3163.json · Rebuilt by cve.day 2026-11-25T22:58:00.721Z
