CVE-2024-34467
ThinkPHP Cross-Site Scripting Vulnerability
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.1
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.
- Record
CVE-2024-34467- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
EUVDEUVD-2024-1543
6.1
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.
- Record
EUVD-2024-1543- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-969f-v7jv-pgj3
6.1
ThinkPHP Cross-Site Scripting Vulnerability
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.
- Record
GHSA-969f-v7jv-pgj3- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
NVD
6.1
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.
- Record
CVE-2024-34467- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
OSV
6.1
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.
- Record
CVE-2024-34467- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Updated
- 2026-11-02
OSVGHSA-969f-v7jv-pgj3
6.1
ThinkPHP Cross-Site Scripting Vulnerability
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.
- Record
GHSA-969f-v7jv-pgj3- CVSS 3.1
- 6.1 Medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Weakness
- CWE-79
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
topthink/frameworkPackagist |
8.0.0 up to 8.0.4 | 8.0.4 |
topthink/frameworkPackagist |
6.1.0 up to 6.1.5 | 6.1.5 |
topthink/frameworkPackagist |
before 6.0.17 | 6.0.17 |
topthink/frameworkPackagist |
8.0.0 up to 8.0.4, plus listed versions v8.0.0v8.0.1v8.0.2v8.0.3 |
8.0.4 |
topthink/frameworkPackagist |
6.1.0 up to 6.1.5, plus listed versions v6.1.0v6.1.1v6.1.2v6.1.3v6.1.4 |
6.1.5 |
topthink/frameworkPackagist |
before 6.0.17, plus listed versions 5.05.0-rc15.0-rc25.0-rc35.0-rc4 Show 45 moreShow lessv5.0.1v5.0.10v5.0.11v5.0.12v5.0.13v5.0.14v5.0.15v5.0.16v5.0.17v5.0.18v5.0.19v5.0.2v5.0.20v5.0.21v5.0.22v5.0.23v5.0.24v5.0.25v5.0.3v5.0.4v5.0.5v5.0.6v5.0.7v5.0.8v5.0.9v5.1-beta.1v5.1-rc.1v5.1-rc.2v5.1-rc.3v5.1.0v5.1.1v5.1.10v5.1.11v5.1.12v5.1.13v5.1.14v5.1.15v5.1.16v5.1.17v5.1.18v5.1.19v5.1.2v5.1.20v5.1.21v5.1.22 |
6.0.17 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-34467 is a medium vulnerability (CVSS 6.1) in Thinkphp, published May 4, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.42%, the 36th percentile. Fixed in topthink/framework 8.0.4.
References
github.com/top-think/framework/issues/2996
nvd.nist.gov/vuln/detail/CVE-2024-34467
github.com/top-think/framework/commit/403358cd3e510e2fdab63f951930bdd093314eee
github.com/top-think/framework/commit/57d1950a1844ef8d3098ea290032aeb92e2e32c3
github.com/top-think/framework/commit/d3904e51e279c3b72ee206192aeccf9b1cffb534
github.com/advisories/GHSA-969f-v7jv-pgj3
github.com/CVEProject/cvelistV5/tree/main/cves/2024/34xxx/CVE-2024-34467.json
github.com/top-think/framework
Left out here: 53 versions. The JSON record has them.