Skip to main content
← All vulnerabilities
CVE-2026-91127GHSA-3753-M2X2-Q623

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.1, 0.2.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • flyfish-dev file-viewer

    fixed in 2.3.1

  • @file-viewer doc

    fixed in 2.3.1

  • flyfish-dev msdoc-viewer

    fixed in 0.2.2

  • @file-viewer/docnpm

    fixed in 2.3.1

  • msdoc-viewernpm

    fixed in 0.2.2

References 3

GitHub · flyfish-dev/file-viewer