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.
Published: 2026-10-21
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: Cross‑Site Scripting in HTML Viewer
Action: Immediate Patch
AI Analysis

Impact

PHPPresentation 1.2.0 contains a cross‑site scripting flaw in the HTML writer. Attackers can craft a PPTX file that embeds malicious scripts in text runs, hyperlink relationship targets, or shape description attributes, which the library emits unescaped into the generated HTML. The result is JavaScript code that runs in any user’s browser when the HTML is viewed, potentially allowing session hijacking, data theft, or further compromise. This is a classic input validation weakness identified as CWE‑79.

Affected Systems

The affected product is PHPOffice’s PHPPresentation, version 1.2.0. Any system that incorporates this library and uses the HTML writer to transform PPTX files into web‑viewable HTML is vulnerable. No later releases are documented as fixed, so environments that still use 1.2.0 carry the risk.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity. EPSS data is unavailable, and the issue is not listed in the CISA KEV catalog, so there is no known widespread exploitation. Nonetheless, the vulnerability is exploitable when an attacker supplies a malicious PPTX and users view the resulting HTML. The risk is higher in contexts where the library processes untrusted user uploads or automatically exposes generated HTML.

Generated by OpenCVE AI on October 21, 2026 at 17:45 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PHPPresentation to the latest version that includes the XSS fix.
  • If an upgrade is not feasible, sanitize any text run, hyperlink, and shape description data before writing HTML, and enforce strict Content‑Security‑Policy headers on rendered pages to block inline scripts.
  • Restrict or validate PPTX file uploads to ensure only trusted sources can generate HTML output, preventing malicious content from reaching viewers.

Generated by OpenCVE AI on October 21, 2026 at 17:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 21 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 21 Oct 2026 13:00:00 +0000

Type Values Removed Values Added
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.
Title PHPPresentation 1.2.0 XSS via Writer\HTML Text Runs, Hyperlinks and Descriptions
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'}

cvssV4_0

{'score': 5.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-21T15:48:21.337Z

Reserved: 2026-10-21T11:46:54.712Z

Link: CVE-2026-114404

cve-icon Vulnrichment

Updated: 2026-10-21T15:07:37.094Z

cve-icon NVD

Status : Received

Published: 2026-10-21T13:18:31.940

Modified: 2026-10-21T16:17:33.690

Link: CVE-2026-114404

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-21T18:00:19Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')