# CVE-2021-3866: Cross-site Scripting (XSS) - Stored in zulip/zulip

- Severity: Medium 6.8 (CVSS:3.0, scored by @huntrdev) `CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:L/A:L`
- 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): 0.92%, higher than 61% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-01-20T10:30:11.000Z
- Modified: 2026-06-17T04:05:55.267Z
- Weaknesses: CWE-79
- Assigned by: @huntrdev

## Description

Cross-site Scripting (XSS) - Stored in GitHub repository zulip/zulip more than and including 44f935695d452cc3fb16845a0c6af710438b153d and prior to 3eb2791c3e9695f7d37ffe84e0c2184fae665cb6.

(As written by CVE List.)

## Affected

- zulip zulip/zulip: from 44f935695d452cc3fb16845a0c6af710438b153d before unspecified; from unspecified before 3eb2791c3e9695f7d37ffe84e0c2184fae665cb6
- zulip zulip: up to 4.8

## Every score

- @huntrdev: CVSS:3.0 6.8 Medium `CVSS:3.0/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:L/A:L`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 3.5 Low `AV:N/AC:M/Au:S/C:N/I:P/A:N`

## References

- <https://huntr.dev/bounties/5f48dac5-e112-4b23-bbbf-cc00ba83bcf2> (exploit, third-party-advisory)
- <https://github.com/zulip/zulip/commit/3eb2791c3e9695f7d37ffe84e0c2184fae665cb6> (patch, third-party-advisory)
- <https://blog.zulip.com/2022/01/19/cve-2021-3866/> (vendor-advisory)

## Sources

- CVE List: [CVE-2021-3866](https://www.cve.org/CVERecord?id=CVE-2021-3866), CVE Terms of Use, modified 2024-08-03
- NVD: [CVE-2021-3866](https://nvd.nist.gov/vuln/detail/CVE-2021-3866), Public domain, modified 2026-06-17

---

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