CVE-2023-22735: User uploads proxied from S3 lack `Content-Security-Policy` headers, may be served with `Content-Disposition: inline` in zulip

Published Feb 7, 2023
·
Updated

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.

Affected Software

1 affected component
Zulip Server=2023-01-09

Event History

Feb 7, 2023
CVE Published
via MITRE·06:48 PM
Data Sourced
via MITRE·06:48 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is CVE-2023-22735?

CVE-2023-22735 is a vulnerability in Zulip, an open-source team collaboration tool, that allows users to upload files with arbitrary content types and have them served from the Zulip hostname with inline content disposition and no Content-Security-Policy header.

2

How severe is CVE-2023-22735?

CVE-2023-22735 has a severity rating of medium with a CVSS score of 4.6.

3

What is the affected software for CVE-2023-22735?

The affected software for CVE-2023-22735 is Zulip Server version 2023-01-09.

4

How can I fix CVE-2023-22735?

To fix CVE-2023-22735, users should update their Zulip Server to a version after commit 2f6c5a8.

5

Where can I find more information about CVE-2023-22735?

More information about CVE-2023-22735 can be found in the Zulip GitHub repository and the corresponding security advisory.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203