← Vulnerabilities

HighAdvisoryRust

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

Affected

PackageAffected versionsFixed in
rust:atomic-server>= 0.30.0, <= 0.40.1No fix yet

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…

Read on GitHub Advisory Database

On 11/19/2026, 05:41 AM, GitHub Advisory Database published "Atomic Server: Stored XSS via uploaded files served inline (same-origin) on `/download` → account takeover" (type: Advisory). Severity is "High" (high). Related technologies: Rust. CVE: CVE-2026-69155.