CVE-2026-91127

published 18 Sep 2026 · updated 22 Sep 2026

File Viewer: DOM XSS via unsafe hyperlink schemes in the legacy DOC renderer

8.2HighCVSS 8.2EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

File Viewer is a browser-native viewer for Office, PDF, CAD, archive, and other files in private and internal web applications. Prior to @file-viewer/doc 2.3.1 and msdoc-viewer 0.2.2, the legacy DOC renderer emitted document-controlled hyperlink targets into generated HTML after character escaping but without restricting URL schemes. A crafted legacy DOC file could place javascript:, vbscript:, data:, or another unsafe scheme in a rendered link, and script could execute in the embedding application's origin when a user clicked the link. The fix blocks external document links by default, allows only HTTP(S), mail, telephone, safe relative URLs, and internal bookmarks when external links are explicitly enabled, and applies mount-boundary sanitization as defense in depth. This issue is fixed in @file-viewer/doc 2.3.1 and msdoc-viewer 0.2.2.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
@file-viewer<2.3.1
flyfish-dev<2.3.1, <0.2.2

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-91127 severity on Zeptric[![CVE-2026-91127](https://zeptric.io/badge/cve/CVE-2026-91127.svg)](https://zeptric.io/cve/CVE-2026-91127)