GHSA-969f-v7jv-pgj3medium6.1
ThinkPHP Cross-Site Scripting Vulnerability
Impact
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.
Source excerpt · OSVAffected packages
Start with the recorded fix for your release branch. Check your installed version and test compatibility before upgrading. Fixing this advisory does not rule out other vulnerabilities in the release.
topthink/framework Packagist
| Affected range | Recorded fix |
|---|---|
| From 8.0.0 before 8.0.4Ecosystem versions | 8.0.4 |
| From 6.1.0 before 6.1.5Ecosystem versions | 6.1.5 |
| Earlier releases before 6.0.17Ecosystem versions | 6.0.17 |
Version evidence: OSV · GHSA-969f-v7jv-pgj3
View original version evidence (112 explicit versions)
Original source description
ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.
References
- Security advisory nvd.nist.gov/vuln/detail/CVE-2024-34467
- Source reference github.com/top-think/framework/issues/2996
- Patch github.com/top-think/framework/commit/403358cd3e510e2fdab63f951930bdd093314eee
- Patch github.com/top-think/framework/commit/57d1950a1844ef8d3098ea290032aeb92e2e32c3
- Patch github.com/top-think/framework/commit/d3904e51e279c3b72ee206192aeccf9b1cffb534
- Source reference github.com/top-think/framework