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

- 種別: advisory
- 重大度: high
- 関連技術: rust
- CVE: CVE-2026-69155
- 公開日時: 2026-11-18T20:41:46.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-x277-3wcg-g9r2)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-x277-3wcg-g9r2

影響: rust:atomic-server >= 0.30.0, <= 0.40.1
Files uploaded via POST /upload are served back by GET /download/{path} using actix_files::NamedFile. For text/html and image/svg+xml, actix-files (0.6.6) sets Content-Disposition: inline, so the browser renders the file instead of downloading it. The /download route sets no Content-Security-Policy, no X-Content-Type-Options: nosniff, and no forced attachment (CSP exists only on the SPA route), and files are served from the same origin as the app UI. An authenticated Agent uploads evil.html con…