{"id":"CVE-2026-69155","published":"2026-11-17T21:03:07Z","modified":"2026-11-19T04:20:10Z","title":"Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover","vendor":"ontola","product":"atomic-server","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.7,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00402,"percentile":0.35174,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/ontola/atomic-server/security/advisories/GHSA-x277-3wcg-g9r2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ontola/atomic-server/commit/457c1dc9af4cd00d2aec89720718e504a49f392d","tags":["x_refsource_MISC"]},{"url":"https://github.com/ontola/atomic-server/commit/8a8badfd3099765e62ccf6f92dc78a408a11106f","tags":["x_refsource_MISC"]},{"url":"https://github.com/ontola/atomic-server/releases/tag/v0.40.3","tags":["x_refsource_MISC"]}],"priority":{"score":13.1,"factors":[{"name":"EPSS percentile","points":7.03},{"name":"CVSS severity","points":6.09}]},"vendorSlug":"ontola","affectedVersions":[{"vendor":"ontola","product":"atomic-server","versions":[">= 0.30.0, < 0.40.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-11-19T04:19:44.549948Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"crates.io","package":"atomic-server","vulnerableRanges":[">=0.30.0, <=0.40.1"],"patched":[],"from":["GHSA-x277-3wcg-g9r2"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-127555","exploited":false,"provenance":"source"}}