Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-91127

HIGH 8.2EPSS 25%

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

Also known as GHSA-3753-m2x2-q623

Mitigation

  • Upgrade @file-viewer/doc to 2.3.1 or later.
  • Upgrade msdoc-viewer to 0.2.2 or later.

Who should check

  • Projects that depend on npm package @file-viewer/doc (< 2.3.1)
  • Projects that depend on npm package msdoc-viewer (< 0.2.2)
  • Anyone running flyfish-dev file-viewer < 2.3.1
  • Anyone running @file-viewer doc < 2.3.1
  • Anyone running flyfish-dev msdoc-viewer < 0.2.2

Vulnerability facts

Affected
@file-viewer/doc < 2.3.1; msdoc-viewer < 0.2.2
Fixed in
2.3.1, 0.2.2
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
8.2 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:NOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: Required
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: Low
  • Availability impact: None
EPSS
0.40% chance of exploitation in 30 days (percentile 25, 2026-11-26)
CWE
CWE-79, CWE-83
Published
Modified

Description

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 and fixed versions

Package / productAffectedFixedSource
npm @file-viewer/doc< 2.3.12.3.1osv
npm msdoc-viewer< 0.2.20.2.2osv
flyfish-dev file-viewer< 2.3.1—cvelist
@file-viewer doc< 2.3.1—cvelist
flyfish-dev msdoc-viewer< 0.2.2—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-91127. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-91127.md
Affected: @file-viewer/doc < 2.3.1; msdoc-viewer < 0.2.2
Fixed in: 2.3.1, 0.2.2

Steps:
1. Search this machine and project for @file-viewer/doc (npm), msdoc-viewer (npm), flyfish-dev file-viewer, @file-viewer doc, flyfish-dev msdoc-viewer: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-91127 being exploited?

There is no confirmed exploitation: CVE-2026-91127 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-91127?

High: CVSS 8.2 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

Which versions are affected by CVE-2026-91127?

@file-viewer/doc < 2.3.1; msdoc-viewer < 0.2.2.

Is there a fix for CVE-2026-91127?

Yes. Fixed in 2.3.1, 0.2.2. Upgrade @file-viewer/doc to 2.3.1 or later. Upgrade msdoc-viewer to 0.2.2 or later.

How do I check if I'm affected by CVE-2026-91127?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors