Session theft via unsafe inline S3 uploads
Published Feb 7, 2023 · Updated Mar 10, 2025
Stored cross-site scripting in Zulip Server main after 04cf68b and before 2f6c5a8 allows remote authenticated users to execute JavaScript. The S3 upload proxy trusted a browser-supplied Content-Type while deriving Content-Disposition only from the filename, so HTML disguised with an image extension was rendered inline without a protective policy. Exploitation requires S3-backed storage, an authenticated uploader, and a victim who opens the crafted upload; script execution in the application origin enables session theft.
Summary
What happened
Stored cross-site scripting in Zulip Server main after 04cf68b and before 2f6c5a8 allows remote authenticated users to execute JavaScript. The S3 upload proxy trusted a browser-supplied Content-Type while deriving Content-Disposition only from the filename, so HTML disguised with an image extension was rendered inline without a protective policy. Exploitation requires S3-backed storage, an authenticated uploader, and a victim who opens the crafted upload; script execution in the application origin enables session theft.
The record
- CVE
- CVE-2023-22735
- Published
- Feb 7, 2023
- Updated
- Mar 10, 2025
- Vendor
- Zulip
- Product
- Zulip
- Classifications
- CWE-436, T1203, T1539
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 7, 2023CVE publishedPublication date reported by the CVE source.
- Mar 10, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 04cf68b, < 2f6c5a8
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
No public exploit references are available in this record.
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo