Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.2%top 90%

CVE-2026-35453: CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in PHPOffice PhpSpreadsheet

0
Medium
VulnerabilityCVE-2026-35453cvecve-2026-35453cwe-79
Published: Tue May 05 2026 (05/05/2026, 19:39:54 UTC)
Source: CVE Database V5
Vendor/Project: PHPOffice
Product: PhpSpreadsheet

Description

CVE-2026-35453 is a cross-site scripting (XSS) vulnerability in the PHPOffice PhpSpreadsheet library affecting multiple versions up to 5.6.0. The issue arises because the HTML Writer component fails to properly escape output when a cell uses a custom number format with the @ text placeholder combined with additional literal text. This allows an attacker who can control spreadsheet cell content to inject arbitrary HTML and JavaScript into the generated output. The vulnerability has a medium severity with a CVSS score of 4.8. Fixes have been released in PhpSpreadsheet versions 1.30.4, 2.

CVSS v4.0

Score 4.8medium

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vuln. Confidentiality
None
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
Low
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Affected software

Affected versions
<=1.30.3

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/13/2026, 03:50:07 UTC

Technical Analysis

PhpSpreadsheet versions 1.30.3 and earlier, 2.0.0 through 2.1.15, 2.2.0 through 2.4.4, 3.3.0 through 3.10.4, and 4.0.0 through 5.6.0 contain an XSS vulnerability in the HTML Writer. The vulnerability occurs because the output escaping function htmlspecialchars() is skipped when a cell uses a custom number format containing the @ placeholder with additional literal text. This results in raw cell content being injected into the HTML output without proper escaping, enabling injection of arbitrary HTML and JavaScript. The issue is resolved in versions 1.30.4, 2.1.16, 2.4.5, 3.10.5, and 5.7.0.

Potential Impact

An attacker able to control cell content in a spreadsheet processed by the vulnerable PhpSpreadsheet HTML Writer can inject arbitrary HTML and JavaScript into the generated output. This could lead to cross-site scripting attacks when the HTML output is rendered in a browser context. The CVSS 4.8 score reflects a medium severity impact with network attack vector, low attack complexity, and requiring user interaction and low privileges.

Mitigation Recommendations

Upgrading to PhpSpreadsheet versions 1.30.4, 2.1.16, 2.4.5, 3.10.5, or 5.7.0 or later addresses this vulnerability. Since these fixed versions are identified, users should apply these official updates to remediate the issue. Patch status is not explicitly stated in the vendor advisory content, but the presence of fixed versions indicates an official fix is available. No additional mitigation steps are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-02T19:25:52.192Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69fa4dc2cbff5d86102152b5

Added to database: 5/5/2026, 8:06:26 PM

Last enriched: 5/13/2026, 3:50:07 AM

Last updated: 6/20/2026, 7:33:59 AM

Views: 81

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses