CVE-2026-91127

Source
https://cve.org/CVERecord?id=CVE-2026-91127
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-91127.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-91127
Aliases
Published
2026-09-18T17:18:40Z
Modified
2026-09-19T03:47:49Z
Severity
  • 8.2 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N CVSS Calculator
Summary
File Viewer: DOM XSS via unsafe hyperlink schemes in the legacy DOC renderer
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79",
        "CWE-83"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/91xxx/CVE-2026-91127.json",
    "unresolved_ranges": [
        {
            "extracted_events": [
                {
                    "fixed": "0.2.2"
                }
            ],
            "source": "AFFECTED_FIELD"
        }
    ]
}
References

Affected packages

Git / github.com/flyfish-dev/file-viewer

Affected ranges

Type
GIT
Repo
https://github.com/flyfish-dev/file-viewer
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "fixed": "2.3.1"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

v1.*
v1.0.23
v1.0.24
v1.0.25
v1.0.26
v1.0.6
v2.*
v2.0.0
v2.0.1
v2.0.10
v2.0.11
v2.0.6
v2.0.8
v2.1.0
v2.1.1
v2.1.10
v2.1.12
v2.1.13
v2.1.14
v2.1.15
v2.1.16
v2.1.18
v2.1.19
v2.1.2
v2.1.20
v2.1.21
v2.1.22
v2.1.23
v2.1.24
v2.1.26
v2.1.27
v2.1.28
v2.1.29
v2.1.3
v2.1.30
v2.1.4
v2.1.7
v2.1.9
v2.2.0
v2.2.2
v2.2.3
v2.2.4
v2.2.5
v2.2.6
v2.2.8
v2.2.9
v2.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-91127.json"