{"id":"CVE-2026-91127","published":"2026-09-18T17:18:40Z","modified":"2026-09-22T15:10:24Z","title":"File Viewer: DOM XSS via unsafe hyperlink schemes in the legacy DOC renderer","vendor":"flyfish-dev","product":"file-viewer","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00397,"percentile":0.25429,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-83","name":"Improper Neutralization of Script in Attributes in a Web Page"}],"references":[{"url":"https://github.com/flyfish-dev/file-viewer/security/advisories/GHSA-3753-m2x2-q623","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/flyfish-dev/file-viewer/commit/ef045680f8d9830a3eee9612f7df46a734361b07","tags":["x_refsource_MISC"]},{"url":"https://github.com/flyfish-dev/file-viewer/releases/tag/v2.3.1","tags":["x_refsource_MISC"]}],"priority":{"score":10.8,"factors":[{"name":"EPSS percentile","points":5.09},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"flyfish-dev","affectedVersions":[{"vendor":"flyfish-dev","product":"file-viewer","versions":["< 2.3.1"]},{"vendor":"@file-viewer","product":"doc","versions":["< 2.3.1"]},{"vendor":"flyfish-dev","product":"msdoc-viewer","versions":["< 0.2.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-22T15:10:14.012431Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@file-viewer/doc","vulnerableRanges":["<2.3.1"],"patched":["2.3.1"],"from":["GHSA-3753-m2x2-q623"],"provenance":"source"},{"ecosystem":"npm","package":"msdoc-viewer","vulnerableRanges":["<0.2.2"],"patched":["0.2.2"],"from":["GHSA-3753-m2x2-q623"],"provenance":"source"}],"summary":{"text":"The File Viewer product from flyfish-dev has a DOM cross-site scripting flaw in the legacy DOC renderer, which emits document-controlled hyperlink targets into generated HTML without restricting URL schemes. An attacker who supplies a crafted legacy DOC file that a user opens and then clicks a link within can run script, such as javascript: or data: URLs, in the embedding application's origin, requiring user interaction and no authentication.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:45:11Z"},"euvd":{"id":"EUVD-2026-83206","exploited":false,"provenance":"source"}}