{"id":"CVE-2026-69155","summary":"Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover","details":"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.","aliases":["GHSA-x277-3wcg-g9r2"],"modified":"2026-11-18T00:00:29.154007527Z","published":"2026-11-17T21:03:07.553Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69155.json","unresolved_ranges":[{"extracted_events":[{"range":[{"introduced":"0.30.0"},{"fixed":"0.40.3"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"}]},{"extracted_events":[{"range":[{"fixed":"0.40.3"}],"source":"DESCRIPTION"}]}],"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69155.json"},{"type":"FIX","url":"https://github.com/ontola/atomic-server/commit/457c1dc9af4cd00d2aec89720718e504a49f392d"},{"type":"FIX","url":"https://github.com/ontola/atomic-server/commit/8a8badfd3099765e62ccf6f92dc78a408a11106f"},{"type":"WEB","url":"https://github.com/ontola/atomic-server/releases/tag/v0.40.3"},{"type":"ADVISORY","url":"https://github.com/ontola/atomic-server/security/advisories/GHSA-x277-3wcg-g9r2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69155"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ontola/atomic-server","events":[{"introduced":"0"},{"fixed":"457c1dc9af4cd00d2aec89720718e504a49f392d"},{"fixed":"8a8badfd3099765e62ccf6f92dc78a408a11106f"},{"fixed":"ef57e77e592b51dda6838de00435cef683d183e0"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"457c1dc9af4cd00d2aec89720718e504a49f392d"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"8a8badfd3099765e62ccf6f92dc78a408a11106f"}],"source":"REFERENCES_COMMIT"},{"range":[{"fixed":"ef57e77e592b51dda6838de00435cef683d183e0"}],"source":"REFERENCES_TAG","original_tag":"v0.40.3"}]}}],"versions":["v0.40.0","v0.39.0","v0.38.0","v0.37.0","v0.36.1","v0.36.0","v0.34.2","atomic_lib@0.34.2","atomic-server@0.34.2","atomic-server-tauri@0.34.2","atomic-cli@0.34.2","v0.34.1","atomic_lib@0.34.1","atomic-server@0.34.1","v0.34.0","atomic_lib@0.34.0","atomic-server@0.34.0","atomic-server-tauri@0.34.0","atomic-cli@0.34.0","v0.33.1","atomic_lib-v0.33.1","v0.33.0","v0.32.1","v0.32.0","atomic_lib@0.32.0","atomic-server@0.32.0","atomic-server-tauri@0.32.0","atomic-cli@0.32.0","v0.31.1","v0.31.0","v0.30.4","v0.30.2","atomic-server@0.30.2","v0.30.1","atomic_lib@0.30.1","atomic-server@0.30.1","v0.30.0","v0.29.2","v0.29.0","v0.28.2","v0.28.1","v0.28.0","v0.27.1","v0.27.0","v0.26.3","v0.26.2-b","v0.26.2-a","v0.26.2","atomic_lib@0.26.2","atomic-server@0.26.2","atomic-cli@0.26.2","v0.26.1","atomic_lib@0.26.1","atomic-server@0.26.1","atomic-cli@0.26.1","v0.26.0","atomic_lib@0.26.0","atomic-server@0.26.0","atomic-cli@0.26.0","v0.25.6","v0.25.5","v0.25.4","atomic_lib@0.25.4","atomic-server@0.25.4","atomic-cli@0.25.4","v0.25.3","v0.24.0","v0.23.0","v0.21.0","v0.20.0","v0.17.0","v0.15.0","v0.13.0","v0.12.1","v.0.12.1","v0.11.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-69155.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}