# CVE-2019-16216: Zulip server before 2.0.5 incompletely validated the MIME types of uploaded files.

- Severity: Medium 5.4 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/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): 0.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2019-09-18T11:08:09.000Z
- Modified: 2026-06-17T02:21:54.840Z
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

Zulip server before 2.0.5 incompletely validated the MIME types of uploaded files. A user who is logged into the server could upload files of certain types to mount a stored cross-site scripting attack on other logged-in users. On a Zulip server using the default local uploads backend, the attack is only effective against browsers lacking support for Content-Security-Policy such as Internet Explorer 11. On a Zulip server using the S3 uploads backend, the attack is confined to the origin of the configured S3 uploads hostname and cannot reach the Zulip server itself.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- zulip zulip_server: from 1.8.0 before 2.0.5

## Every score

- 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://blog.zulip.org/2019/09/11/zulip-server-2-0-5-security-release/> (vendor-advisory)
- <https://github.com/zulip/zulip/commit/1195841dfb9aa26b3b0dabc6f05d72e4af25be3e> (patch, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2019-16216 · Whole record: https://cve.day/CVE-2019-16216.json · Rebuilt by cve.day 2026-11-25T22:57:47.027Z
