CVE-2026-40296

medium
Published 2026-04-28 ยท Modified 2026-05-08
CVSS v3
5.4
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
5.4

Description

PhpSpreadsheet has XSS via number format code with @ text placeholder bypasses htmlspecialchars in HTML writer

Predictions

Exploit likelihood
64%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

Package impact

EcosystemPackageVulnerableFixed
php Packagistphpoffice/phpspreadsheet<=1.30.3|>=2.0.0,<=2.1.15|>=2.2.0,<=2.4.4|>=3.3.0,<=3.10.4|>=4.0.0,<=5.6.0
php Packagistphpoffice/phpspreadsheet>=4.0.0,<5.7.05.7.0
php Packagistphpoffice/phpspreadsheet>=3.3.0,<3.10.53.10.5
php Packagistphpoffice/phpspreadsheet>=2.2.0,<2.4.52.4.5
php Packagistphpoffice/phpspreadsheet>=2.0.0,<2.1.162.1.16
php Packagistphpoffice/phpspreadsheet<1.30.41.30.4
php COMPOSERphpoffice/phpspreadsheet<= 1.30.31.30.4
php COMPOSERphpoffice/phpspreadsheet>= 2.0.0, <= 2.1.152.1.16
php COMPOSERphpoffice/phpspreadsheet>= 2.2.0, <= 2.4.42.4.5
php COMPOSERphpoffice/phpspreadsheet>= 3.3.0, <= 3.10.43.10.5
php COMPOSERphpoffice/phpspreadsheet>= 4.0.0, <= 5.6.05.7.0

Application impact

VendorProductVersionsFixed
phpofficephpspreadsheet{"endExcluding":"1.30.4"}1.30.4

References

CWEs

CWE-79

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.