All vulnerabilities

crates.io

CVE-2026-69155

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

Severity
High 8.7
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
23 Nov 2026
Exploit chance
0.4% in the next 30 daysHigher than 34% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · Needs a user account · Needs someone to click or open something
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Also known as
GHSA-x277-3wcg-g9r2
Sources
OSV.dev and GitHub

Description

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 containing ; when a victim opens the link, the script executes in the app origin. Because the atomic_session cookie is set via document.cookie (not HttpOnly) and the Agent's Ed25519 private key is stored in same-origin IndexedDB (browser/data-browser/src/helpers/agentStorage.ts`), the script exfiltrates the private key → permanent account takeover.

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Affected software

SoftwareAffected versions
atomic-servercrates.io · osv:crates.io:atomic-server
  • From 0.30.0 up to 0.40.1

About atomic-server

Downloads in the last 90 days (crates.io)
201crates.io, 24 Nov 2026
Total downloads (crates.io)
80,917crates.io, 24 Nov 2026

References