CVE-2026-91127: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in flyfish-dev file-viewer
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.
AI Analysis
Technical Summary
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.
CVE-2026-91127: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in flyfish-dev 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
Affected software
flyfish-dev
file-viewer
@file-viewer
doc
flyfish-dev
msdoc-viewer
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
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.