CVE-2026-91127
### Summary Before 2.3.1, the legacy `.doc` renderer emitted document hyperlink targets after HTML escaping but without a URL-scheme allowlist. A crafted `.doc` could therefore render a live `javascript:`, `vbscript:`, `data:`, or similarly unsafe link. Script could execute in the embedding origin if a viewer clicked it. ### Impact Applications rendering untrusted legacy `.doc` files with `@file-viewer/doc` or the `msdoc-viewer` compatibility package could expose their origin to attacker-controlled script after link interaction. ### Fix Version 2.3.1 centralizes link handling, removes control-character and scheme confusion, blocks external document links by default, and in explicit allow mode accepts only HTTP(S), mail, telephone, safe relative URLs, and internal bookmarks. The renderer output is safe before mounting, with mount-boundary sanitization as defense in depth. The `msdoc-viewer` compatibility release containing the fix is 0.2.2. Thanks to @shashank420 for responsibly reporting this issue.
Properties
- ghsa_id
- GHSA-3753-m2x2-q623
- severity
- high
- summary
- File Viewer: DOM XSS via unsafe hyperlink schemes in the legacy DOC renderer
- cvss_score
- 8.2
- cve_id
- CVE-2026-91127
- cvss_vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
- signal_observed_at
- 2026-09-18T17:46:44+00:00
- is_ghsa_only
- false
- ghsa_published
- 2026-09-18T17:19:42Z
- source_url
- https://github.com/advisories/GHSA-3753-m2x2-q623
- ghsa_updated
- 2026-09-18T17:19:44Z
Related Entities (7)
VULNERABLE_TO (2)
AFFECTS (2)
HAS_WEAKNESS (2)
REPORTED_BY (1)
Explore deeper with Ninja Signal's threat intelligence graph