CVE-2023-22735Zulip Server
Medium 4.6
Follow: this CVE · Zulip · Zulip Server We alert you by email or Slack (account required).
- Priority
- 28
- CVSS 3.1
- 4.6
- EPSS
- 0.6% probability of exploitation in 30 days · percentile 42
- Auth required
- Yes
- Published
- Feb 7, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-436
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
What happens
Zulip is an open-source team collaboration tool. In versions of zulip prior to commit `2f6c5a8` but after commit `04cf68b` users could upload files with arbitrary `Content-Type` which would be served from the Zulip hostname with `Content-Disposition: inline` and no `Content-Security-Policy` header, allowing them to trick other users into executing arbitrary Javascript in the context of the Zulip application. Among other things, this enables session theft. Only deployments which use the S3 storage (not the local-disk storage) are affected, and only deployments which deployed commit 04cf68b45ebb5c03247a0d6453e35ffc175d55da, which has only been in `main`, not any numbered release. Users affected should upgrade from main again to deploy this fix. Switching from S3 storage to the local-disk storage would nominally mitigate this, but is likely more involved than upgrading to the latest `main` which addresses the issue.
What to do
- Apply the vendor's security update for Zulip Server.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| zulip | zulip_server | 2023-01-09 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Product
- github.com Patch
- github.com Patch Vendor Advisory
- zulip.readthedocs.io Not Applicable