Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2025-22131— Cross-Site Scripting (XSS) vulnerability in generateNavigation() function

Quick assessment

Affected
PHPOffice PhpSpreadsheet
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PhpSpreadsheet是PHPOffice开源的一款用于读取和写入电子表格文件的PHP库。 PhpSpreadsheet存在跨站脚本漏洞.攻击者利用该漏洞可以执行跨站点脚本攻击。

AI Predicted 6.1 Difficulty: Easy EPSS 0.38% · P30
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2025-22131

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Cross-Site Scripting (XSS) vulnerability in generateNavigation() function
Source: CVE Program / CVE List V5
Vulnerability Description
PhpSpreadsheet is a PHP library for reading and writing spreadsheet files. Cross-Site Scripting (XSS) vulnerability in the code which translates the XLSX file into a HTML representation and displays it in the response.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5
Vulnerability Title
PhpSpreadsheet 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PhpSpreadsheet是PHPOffice开源的一款用于读取和写入电子表格文件的PHP库。 PhpSpreadsheet存在跨站脚本漏洞.攻击者利用该漏洞可以执行跨站点脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
PHPOffice PhpSpreadsheet >= 3.0.0, < 3.8.0 -

II. Public POCs for CVE-2025-22131

# POC Description Source Link Shenlong Link
1 PoC for CVE-2025-22131 https://github.com/ZzN1NJ4/CVE-2025-22131-PoC POC Details
2 POC for the vuln CVE-2025-22131 https://github.com/s0ck37/CVE-2025-22131-POC POC Details
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2025-22131

请登录查看更多情报信息。

Patches & Fixes for CVE-2025-22131 (1)

Vendor Advisories for CVE-2025-22131 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2025-22131

No comments yet


Leave a comment