Preliminary research
A JPEG, a Race, and a Ghost: Breaking Discourse's Image Pipeline
Last synced: 5 December 2026.
Discourse's anonymous page cache omitted color scheme cookies from its key, allowing a crafted cookie to poison pages with a modulepreload element that bypassed CSP and executed script for visitors. A separate image upload chain combined a JPEG/JXL polyglot, Ghostscript PDF processing, and an atomic tempfile race to reach ImageMagick MSL file read and write.
Preserved copies · Kevin Gervot · Original publication ↗
Record
- Researcher
- Kevin Gervot
- Published by
- slcyber.io
- Topic
- Other
In the archive
Related sources
- Remote code execution via pdf uploads Advisory
Author not stated · GitHub Advisory Database
Preserved copies of this source
- Cache poisoning/XSS via color scheme cookies Advisory
Author not stated · GitHub Advisory Database
Preserved copies of this source
Tags
This page is the archive's own catalogue record. The research is the work of Kevin Gervot, first published at the original source. Preserved copies are kept so the citation survives its host.