# GHSA-MRRF-4M5H-MPPJ: Stored XSS in PPTX rendering

- Database: GitHub
- Severity: CVSS 7.1 (High)
- Published: 2026-08-21
- Modified: 2026-08-21

## Affected versions

- @file-viewer/pptx (npm): from 2.0.2, through 2.2.8

## Description

### Summary

`@file-viewer/pptx` before 2.2.9 rendered attacker-controlled PPTX worker output into the embedding document without a complete trust-boundary sanitizer. A crafted presentation could inject active HTML, SVG, or CSS through fields such as hyperlink tooltips, shape attributes, colors, fonts, or resource URLs. Previewing the file could execute JavaScript or issue attacker-controlled requests in the host application origin.

### Impact

Applications that preview untrusted or third-party PPTX files may expose authenticated users to stored cross-site scripting, same-origin API abuse, data disclosure, and page modification.

### Fix

Version 2.2.9 sanitizes all worker markup before DOM insertion, validates generated CSS and primitive fields, restricts link and resource URL schemes, and adds real-worker Chromium regression coverage for ordinary and windowed rendering.

Credit to @uforever for reporting this issue.

## References

- https://github.com/flyfish-dev/file-viewer/security/advisories/GHSA-mrrf-4m5h-mppj

Page: https://cve.now/GHSA-MRRF-4M5H-MPPJ

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
