Advisory record · GHSA-jmpx-686v-c3wx

PhpSpreadsheet allows unauthorized Reflected XSS in the constructor of the Downloader class

CVSS 8.3 HighEPSS 0.0033 · 26th percentile

Published by the GitHub Advisory Database at 3 Jan 2025, 17:06 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

PackageEcosystemAffectedFixed in
phpoffice/phpspreadsheetPackagist>=3.0.0, <3.7.0 || <1.29.7 || >=2.0.0, <2.1.6 || >=2.2.0, <2.3.53.7.0, 1.29.7, 2.1.6, 2.3.5
phpoffice/phpexcelPackagist<=1.8.2No fixed version yet
Identifiers
GHSA-jmpx-686v-c3wx · CVE-2024-56365 · PKSA-bx2k-kfb8-w1zm · PKSA-jw5c-q9nd-tzj9
Weakness (CWE)
CWE-79
Published
3 Jan 2025
Updated
6 Mar 2025

Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

The phpoffice/phpspreadsheet package is vulnerable to reflected cross-site scripting in the constructor of its Downloader class, in versions before 1.29.7, from 2.0.0 before 2.1.6, from 2.2.0 before 2.3.5, and from 3.0.0 before 3.7.0. An attacker can get an unauthenticated user to click a crafted link that runs arbitrary JavaScript in the browser. Upgrade to 1.29.7, 2.1.6, 2.3.5, or 3.7.0, depending on your release line. The phpoffice/phpexcel package is also affected in versions up to 1.8.2, and no fixed version is listed for it.

Written 4 Nov 2026.

Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

Severity and exploitation

ScoreRatingCVSSVectorSource
8.3 High 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:H/VA:N/SC:L/SI:H/SA:L CNA (GitHub_M)
  • CISA KEV Not listed.
  • EPSS 0.0033, the 26th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

Timeline

  1. 31 Oct 2026, 14:27 UTC First seen by agentprime
  2. 31 Oct 2026, 14:27 UTC Confirmed by OSV

Sources

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.