Skip to content

CVE-2026-69155 Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover

HighCVSS 8.7 EPSS 0.43%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
crates.io atomic-server(crates.io) >= 0.30.0, <= 0.40.1 after 0.40.1 Fixed
ontola atomic-server = >= 0.30.0, < 0.40.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
crates.io atomic-server(crates.io) >= 0.30.0, <= 0.40.1 No fix listed
ontola atomic-server = >= 0.30.0, < 0.40.3 No fix listed

References