CVE-2024-34467 json
ThinkPHP Cross-Site Scripting Vulnerability
published 2024-05-04 2 y ago modified 2026-06-17 4 mo ago also GHSA-969f-v7jv-pgj3 , EUVD-2024-1543
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.
Patch / fix
- packagist topthink/framework 6.0.17, 6.1.5, 8.0.4
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.42% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/top-think/framework/issues/2996 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | topthink/framework | >=8.0.0, <8.0.4 >=6.1.0, <6.1.5 <6.0.17 |
8.0.4 6.1.5 6.0.17 |
Affected products
- thinkphp thinkphp
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/top-think/framework/commit/403358cd3e510e2fdab63f951930bdd093314eee
web
-
github.com
/top-think/framework/commit/57d1950a1844ef8d3098ea290032aeb92e2e32c3
web
-
github.com
/top-think/framework/commit/d3904e51e279c3b72ee206192aeccf9b1cffb534
web
-
github.com
/top-think/framework/issues/2996
web, exploit, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2024-34467
advisory
-
github.com
/top-think/framework
package
Sources
- CVE List CVE-2024-34467
- GitHub Advisory GHSA-969f-v7jv-pgj3
- NVD CVE-2024-34467
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.