Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover
- CVE-2026-69155
- GHSA-x277-3wcg-g9r2
- EUVD-2026-127555
Description
Atomic Server is an open source headless CMS and real-time database. From 0.30.0 until 0.40.3, an authenticated Agent with folder write access can use POST /upload to store HTML or SVG content that GET /download/{path} serves from the application origin through server/src/handlers/download.rs. The response sets Content-Disposition: inline and lacks forced attachment handling and X-Content-Type-Options: nosniff, allowing the browser to render the uploaded active content as the application. When a victim opens the link, the script can access the JavaScript-readable atomic_session cookie and the Agent private key in same-origin IndexedDB, enabling persistent account impersonation. This issue is fixed in version 0.40.3.
Text from the CVE.org record.
Recommendation
No source states a fixed version. Check the vendor advisory.
Affected
ontola atomic-server
Affected versions Fixed in >= 0.30.0, < 0.40.3 none stated atomic-servercrates.io
Affected versions Fixed in from 0.30.0 up to 0.40.1 none stated
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.