Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious legacy .doc with javascript: link
-
DeliveryDeliver file into DOC-previewing web app
-
ExploitVictim opens preview and clicks link
-
ExecutionUnsafe scheme executes in embedding origin
-
ImpactSession/credential theft in host app
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires that the embedding application uses @file-viewer/doc ≤2.3.0 or msdoc-viewer ≤0.2.1 to render UNTRUSTED legacy .doc files, and that a user opens the preview and CLICKS an attacker-controlled hyperlink (UI:R). The vulnerable path is the legacy DOC renderer specifically, which emitted document-controlled link targets after HTML escaping but without any URL-scheme allowlist, permitting javascript:, vbscript:, and data: schemes. Limiting factors: exploitation needs victim click interaction, an app that ingests attacker-supplied .doc files, and pre-fix versions; the patch blocks external links by default and, when enabled, allows only HTTP(S)/mail/tel/safe-relative/internal-bookmark URLs plus DOMPurify mount-boundary sanitization. |
| Impact | This is a genuine but conditionally-gated client-side XSS (CWE-79) rather than a mass-exploitable network flaw. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N, 8.2 HIGH) is credible in shape: exploitation is unauthenticated and low-complexity, but hinges on UI:R - a victim must actually click an attacker-crafted hyperlink inside a malicious legacy .doc, and the app must be configured to render untrusted DOC files with @file-viewer/doc or msdoc-viewer. S:C is defensible because script executes in the embedding application's origin, escaping the document-render sandbox context into the host web app. No EPSS score, no CISA KEV listing, and no weaponized exploit were provided; the GHSA advisory describes the mechanism (javascript:/vbscript:/data: schemes emitted without a scheme allowlist) but does not publish a copy-paste exploit. Net: treat as a real priority for any deployment that ingests untrusted legacy .doc files (the whole point of the product), but the click requirement and the fact that it is a scoped npm library - not a ubiquitous appliance - keep real-world mass-exploitation risk moderate rather than critical. |
| Exploit ScenarioDerived | An attacker crafts a legacy .doc containing a hyperlink whose target is a javascript: (or vbscript:/data:) URL and submits or shares it into an application that previews files with @file-viewer/doc ≤2.3.0 or msdoc-viewer ≤0.2.1. When a victim opens the preview and clicks the link, the unsafe scheme executes script in the embedding app's origin, enabling session/token theft or actions as the victim. No public exploit code was identified, though the advisory documents the vulnerable schemes precisely. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 18, 2026
The legacy DOC renderer in File Viewer emits document-controlled hyperlink targets into generated HTML after character escaping but without restricting URL schemes, so a crafted legacy .doc file can render a live javascript:, vbscript:, or data: link and execute script in the embedding application's origin when a user clicks it. Applications are affected if they use @file-viewer/doc up to and including 2.3.0 or the msdoc-viewer compatibility package up to and including 0.2.1 to render untrusted .doc files; exploitation is conditionally gated, requiring a victim to open the preview and click the malicious link (CVSS 8.2, UI:R, scope changed). No public exploit code or confirmed active exploitation was identified at time of analysis, and vendor-released fixes exist in @file-viewer/doc 2.3.1 and msdoc-viewer 0.2.2.
RemediationAI
Upgrade to the vendor-released fixed versions: @file-viewer/doc 2.3.1, msdoc-viewer 0.2.2, and @file-viewer/renderer-word 2.3.2, or the 2.3.4 patch line for the Office/Full/copy-assets bundles (for example pnpm add @file-viewer/vue3-full@2.3.4); the fix commit is https://github.com/flyfish-dev/file-viewer/commit/ef045680f8d9830a3eee9612f7df46a734361b07 and details are in the GHSA-3753-m2x2-q623 advisory. The patch changes behavior in two ways worth planning for: external document links are blocked by default, so documents relying on external hyperlinks will need external links explicitly enabled (and even then only HTTP(S), mail, telephone, safe relative URLs, and internal bookmarks are accepted), which slightly reduces link functionality for legitimate files; the standard mount path also adds DOMPurify 3.4.13 sanitization at the mount boundary, which adds a small lazy-loaded bundle increment (10,923 bytes compressed) on the DOC path only. If immediate upgrading is not possible, the most effective compensating control is to stop rendering untrusted legacy .doc files through these libraries entirely, for example by blocking .doc upload/ingestion or routing .doc files to download or a hardened isolated viewer instead of inline preview, accepting the loss of in-app DOC preview as the trade-off; alternatively, restrict preview to trusted, internally authored .doc documents and sanitize any generated HTML with DOMPurify before mounting, though pre-fix output is the vulnerable artifact itself, so mount-boundary sanitization alone may not close obfuscated scheme-confusion variants and should be treated as temporary. Because exploitation requires a user click, user awareness around clicking links inside previewed documents offers marginal risk reduction but is not a substitute for patching.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 4 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a client-side cross-site scripting flaw (CWE-79) in File Viewer's legacy binary .doc rendering path, a browser-native viewer library distributed as npm packages for private and internal web applications. The renderer converted document hyperlink targets into HTML after applying HTML character escaping, but did not enforce a URL-scheme allowlist, so schemes such as javascript:, vbscript:, and data: survived into the emitted markup and became clickable active links. Because the HTML is mounted into the host application's DOM, script execution occurs in the embedding origin rather than an isolated sandbox, which is why the assessed vector carries S:C (scope changed) with high confidentiality impact and low integrity impact. The upstream fix centralizes link handling, removes control-character and scheme-confusion bypasses, blocks external document links by default, and in explicit allow mode accepts only HTTP(S), mail, telephone, safe relative URLs, and internal bookmarks; the standard mount path additionally applies DOMPurify 3.4.13 sanitization before the document HTML enters the DOM, with style content injected via textContent, and DOMPurify is loaded only on the lazily loaded DOC path (a 10,923-byte compressed increment constrained by a 15 KiB gate). Chromium security regression tests cover both the direct HTML and standard mount APIs, verifying that obfuscated dangerous protocols, malicious fonts/attributes, images, and attachments do not fire event handlers while normal bookmarks, links, images, tables, and pagination continue to work.
Know when File Viewer gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Unauthenticated remote (PR:N/AV:N), but victim must click the malicious link (UI:R); script escapes render context into host origin (S:C) enabling data theft (C:H) and limited tampering (I:L).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
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.
Technical POC Analysis
Evidence base: GHSA-3753-m2x2-q623 only.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
CVE-2026-91127 affects applications that embed the legacy DOC renderer in File Viewer (@file-viewer/doc up to and including 2.3.0 or msdoc-viewer up to and including 0.2.1) when rendering untrusted .doc files. A crafted document can present a malicious hyperlink that, if clicked, executes script in the host application’s origin, potentially exposing user data or enabling actions with the application’s privileges. No public exploit or confirmed active exploitation was identified at time of analysis, but the high severity and scope change warrant prioritized remediation and user awareness.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-83206
GHSA-3753-m2x2-q623
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB