Unauthenticated log injection via the CSP violation report endpoint
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · GHSA-3x2r-gh27-7h4f. Fix status from GitHub.
Summary
Zulip server through 12.2 has an unauthenticated log injection flaw in the unused /report/csp_violations endpoint, which is present on every deployment. The endpoint writes attacker-controlled content into the server logs without neutralizing control characters (CWE-117). An unauthenticated remote attacker can POST a crafted report that injects arbitrary content, including newlines, into the server and error logs, forging or obscuring log entries used for monitoring and incident response.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
### Impact The currently unused `/report/csp_violations` endpoint, allowed writing of attacker-controlled content into the server logs without neutralizing control characters. The endpoint is unauthenticated and present on every deployment, so any unauthenticated user could POST a crafted report to inject arbitrary content - including newlines - into `/var/log/zulip/server.log` and `/var/log/zulip/errors.log`. This could be used to forge or obscure log entries, undermining the reliability of logs used for monitoring and incident response. ### Patches Fixed in Zulip server 12.3.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Zulip server | <= 12.2 | 12.3 | Patch available | GHSA-3x2r-gh27-7h4f |
- Zulip server Vendor— Affected <= 12.2 Fixed in 12.3 Patch available GHSA-3x2r-gh27-7h4f
Remediation
Upgrade Zulip server to version 12.3, which fixes the flaw.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-3x2r-gh27-7h4f Zulip server Fixed in 12.3 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-3x2r-gh27-7h4f
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences