CVE-2026-69155
Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover
Impact
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.
An attacker can exploit this over the network, with a regular user account, but a user has to do something, such as open a file or a link. If it succeeds: high risk of data being read, high risk of data or systems being changed. The attack can reach beyond the vulnerable component itself.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| rust | atomic-server | >= 0.30.0, <= 0.40.1 | none recorded |
Affected products · Ontola
| Product | Affected versions |
|---|---|
| Atomic-server | from 0.30.0, before 0.40.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/ontola/atomic-server/security/advisories/GHSA-x277-3wcg-g9r2
- https://github.com/ontola/atomic-server/commit/457c1dc9af4cd00d2aec89720718e504a49f392d
- https://github.com/ontola/atomic-server/commit/8a8badfd3099765e62ccf6f92dc78a408a11106f
- https://github.com/ontola/atomic-server/releases/tag/v0.40.3
- https://github.com/advisories/GHSA-x277-3wcg-g9r2
- https://nvd.nist.gov/vuln/detail/CVE-2026-69155