Description
PHPOffice PHPPresentation 1.2.0 contains a cross-site scripting vulnerability in the HTML writer that allows attackers who supply presentation content to inject script into generated HTML. Attackers can craft a PPTX with malicious text runs, hyperlink relationship targets, or shape descr attributes that are emitted unescaped, executing script in viewers' browsers.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| PHPOffice | PHPPresentation | 1.2.0 – ≤ 1.2.0 | — |
References
- https://hackmd.io/@leediay/multiple_vulnerable_phppresentation third-party-advisory
- https://github.com/PHPOffice/PHPPresentation/blob/1.2.0/src/PhpPresentation/Writer/HTML.php#L307-L330 technical-description
- https://github.com/PHPOffice/PHPPresentation product
- VulnCheck Advisory: PHPPresentation 1.2.0 XSS via Writer\HTML Text Runs, Hyperlinks and Descriptions third-party-advisory