Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-40296

26
FAUCET Score

PhpSpreadsheet is a pure PHP library for reading and writing spreadsheet files. The HTML writer skips htmlspecialchars escaping when a cell's formatted value differs from the original value. When a cell has a custom number format containing the text placeholder @ along with any additional literal characters (for example ". @", "@ ", or "x@"), the formatter replaces @ with the cell value and adds the extra characters, causing the formatted value to differ from the original and bypassing HTML escaping entirely. An attacker who can control the cell value and number format of an uploaded spreadsheet that is later converted to HTML and displayed to other users can achieve stored cross-site scripting. This issue is fixed in versions 5.7.0, 3.10.5, 2.4.5, 2.1.16, and 1.30.4.

First published: May 6, 2026Last modified: May 7, 2026

Impacted Technologies

VendorProductVersion(s)CPE
< 1.30.4CPE matchmatch criteria
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.1.16CPE matchmatch criteria
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*
>= 2.2.0, < 2.4.5CPE matchmatch criteria
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*
>= 3.3.0, < 3.10.5CPE matchmatch criteria
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*
>= 4.0.0, < 5.7.0CPE matchmatch criteria
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 3.1

5.4MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality Impact
LOW
Integrity Impact
LOW
Availability Impact
NONE
Exploitability Score
2.3
Impact Score
2.7
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.22%
Probability of exploitation in next 30 days
EPSS Percentile
13.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-24
Model: v2026.06.15
This CVE's current EPSS score of 0.0022 is in the 16th percentile among its peer group of 15,222 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Vendor Patches (1)

github_advisoryworkaround availablevia nvd_reference
View patch

References

github.com / PHPOffice/PhpSpreadsheet/security/advisories/GHSA-hrmw-qprp-wgmc
ExploitMitigationVendor Advisory