# CVE-2026-62378: RustFS Console stored XSS in PDF preview components

Source: https://junglewise.ai/threats/cve-2026-62378-rustfs-console-stored-xss-in-pdf-preview-components  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-15. Updated: 2026-07-15  
License: CC BY 4.0 with a link back

CVE-2026-62378 · Severity: critical · CVSS 9 · Published 2026-07-15

RustFS Console is a web-based management interface for the RustFS distributed file system. A security flaw allows attackers to upload malicious files disguised as PDFs that, when viewed by an administrator, execute unauthorized code in their browser. This can lead to the theft of administrative credentials (access keys and session tokens), allowing an attacker to take full control of the file system, delete data, or access sensitive files.

## Quick answers

**Is CVE-2026-62378 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-62378 being exploited in the wild.

**How severe is CVE-2026-62378?** Critical severity, with a CVSS score of 9, published 15 July 2026.

**Which products and versions are affected?** RustFS Console >= 0.1.7, < 0.1.10.

**Is there a fix for CVE-2026-62378?** A patch was published on 2026-06-26: Version 0.1.10 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-62378 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-62378?** Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stored cross-site scripting (XSS) vulnerability exists in RustFS Console components/object/preview-modal.tsx and components/object/pdf-viewer.tsx. The vulnerability is a regression of CVE-2026-27822 caused by relying on file extensions (e.g., .pdf) rather than Content-Type headers to determine preview logic. An attacker with low privileges can upload an HTML file renamed with a .pdf extension; when an administrator previews this file, the console renders it as HTML instead of a sandboxed object. This allows the attacker to execute arbitrary JavaScript in the context of the management console, enabling the theft of AccessKeyId, SecretAccessKey, and SessionToken values from localStorage. The issue is fixed in version 0.1.10 by restricting PDF previews to the application/pdf content type.

## Affected products

- RustFS Console >= 0.1.7, < 0.1.10

## Timeline

- 2026-03-09: other: Regression introduced in commit 4b40353d
- 2026-06-26: patched: Version 0.1.10 released
- 2026-07-15: disclosed: CVE-2026-62378 published

## References

- [https://github.com/rustfs/console/commit/49630dc140e6818aaee8879ade038a129838a2f2](https://github.com/rustfs/console/commit/49630dc140e6818aaee8879ade038a129838a2f2)
- [https://github.com/rustfs/console/releases/tag/v0.1.10](https://github.com/rustfs/console/releases/tag/v0.1.10)
- [https://github.com/rustfs/rustfs/security/advisories/GHSA-7gcx-wg4x-q9x6](https://github.com/rustfs/rustfs/security/advisories/GHSA-7gcx-wg4x-q9x6)
