NVD Vulnerability Detail
Search Exploit, PoC
CVE-2024-45060
Summary

PHPSpreadsheet is a pure PHP library for reading and writing spreadsheet files. One of the sample scripts in PhpSpreadsheet is susceptible to a cross-site scripting (XSS) vulnerability due to improper handling of input where a number is expected leading to formula injection. The code in in `45_Quadratic_equation_solver.php` concatenates the user supplied parameters directly into spreadsheet formulas. This allows an attacker to take control over the formula and output unsanitized data into the page, resulting in JavaScript execution. This issue has been addressed in release versions 1.29.2, 2.1.1, and 2.3.0. All users are advised to upgrade. There are no known workarounds for this vulnerability.

Publication Date Oct. 8, 2024, 6:15 a.m.
Registration Date Oct. 8, 2024, noon
Last Update Oct. 17, 2024, 11:14 p.m.
CVSS3.1 : MEDIUM
スコア 6.1
Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
攻撃元区分(AV) ネットワーク
攻撃条件の複雑さ(AC)
攻撃に必要な特権レベル(PR) 不要
利用者の関与(UI)
影響の想定範囲(S) 変更あり
機密性への影響(C)
完全性への影響(I)
可用性への影響(A) なし
Affected software configurations
Configuration1 or higher or less more than less than
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* 2.2.0 2.3.0
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* 2.0.0 2.1.1
cpe:2.3:a:phpoffice:phpspreadsheet:*:*:*:*:*:*:*:* 1.29.2
Related information, measures and tools
Common Vulnerabilities List

JVN Vulnerability Information
PHPOffice の PhpSpreadsheet におけるクロスサイトスクリプティングの脆弱性
Title PHPOffice の PhpSpreadsheet におけるクロスサイトスクリプティングの脆弱性
Summary

PHPOffice の PhpSpreadsheet には、クロスサイトスクリプティングの脆弱性が存在します。

Possible impacts 情報を取得される、および情報を改ざんされる可能性があります。
Solution

参考情報を参照して適切な対策を実施してください。

Publication Date Oct. 7, 2024, midnight
Registration Date Oct. 18, 2024, 12:31 p.m.
Last Update Oct. 18, 2024, 12:31 p.m.
Affected System
PHPOffice
PhpSpreadsheet 1.29.2 未満
PhpSpreadsheet 2.0.0 以上 2.1.1 未満
PhpSpreadsheet 2.2.0 以上 2.3.0 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
その他
Change Log
No Changed Details Date of change
1 [2024年10月18日]
  掲載
Oct. 18, 2024, 12:31 p.m.