Skip to main content

CVE-2026-91127: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in flyfish-dev file-viewer

0
High
VulnerabilityCVE-2026-91127cvecve-2026-91127cwe-79cwe-83
Published: 09/18/2026 (09/18/2026, 17:18:40 UTC)
Source: CVE Database V5
Vendor/Project: flyfish-dev
Product: file-viewer

Description

CVE-2026-91127 is a high-severity cross-site scripting (XSS) vulnerability in the flyfish-dev file-viewer component. The issue affects legacy DOC rendering in versions prior to @file-viewer/doc 2.3.1 and msdoc-viewer 0.2.2. Unsafe URL schemes such as javascript:, vbscript:, and data: could be embedded in rendered links, allowing script execution in the embedding application's origin when a user clicks the link. The vulnerability is fixed by restricting allowed URL schemes and applying additional sanitization.

CVSS v3.1

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

Affected software

flyfish-dev

file-viewer

Affected versions
<2.3.1

@file-viewer

doc

Affected versions
<2.3.1

flyfish-dev

msdoc-viewer

Affected versions
<0.2.2
msdoc-viewer
pkg:npm/msdoc-viewer
Affected versions
<0.2.2

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/18/2026, 17:47:34 UTC

Technical Analysis

The flyfish-dev file-viewer component, used for browser-native viewing of various file types, had a vulnerability in its legacy DOC renderer. Before versions @file-viewer/doc 2.3.1 and msdoc-viewer 0.2.2, the renderer emitted document-controlled hyperlink targets into generated HTML with character escaping but without restricting URL schemes. This allowed crafted DOC files to embed unsafe schemes like javascript:, vbscript:, or data:, leading to cross-site scripting when users clicked these links. The fix implemented blocks external document links by default, permits only HTTP(S), mailto, telephone, safe relative URLs, and internal bookmarks when external links are enabled, and adds mount-boundary sanitization as a defense in depth measure.

Potential Impact

Successful exploitation allows an attacker to execute script in the context of the embedding application's origin when a user clicks a malicious link in a legacy DOC file. This can lead to partial confidentiality compromise (C:H), limited integrity impact (I:L), and no availability impact (A:N). The vulnerability requires user interaction (UI:R) and can be exploited remotely without privileges (AV:N, PR:N).

Mitigation Recommendations

This vulnerability is fixed in @file-viewer/doc version 2.3.1 and msdoc-viewer version 0.2.2. Users and administrators should upgrade to these versions or later to remediate the issue. No additional mitigation is required once updated. Patch status is confirmed by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-09-14T19:36:48.844Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6aad759d55bf5e2cf54f30a6

Added to database: 09/18/2026, 17:32:13 UTC

Last enriched: 09/18/2026, 17:47:34 UTC

Last updated: 09/18/2026, 19:36:52 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses