{"id":"CVE-2024-34467","aliases":["CVE-2024-34467","GHSA-969f-v7jv-pgj3"],"related":[],"kind":"vulnerability","state":"published","title":"ThinkPHP Cross-Site Scripting Vulnerability","summary":"ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.","source":"cvelist"},{"lang":"es","text":"ThinkPHP 8.0.3 permite a atacantes remotos descubrir la cookie PHPSESSION porque think_exception.tpl (también conocido como código fuente de salida de error de depuración) proporciona esto en un mensaje de error para un URI manipulado en una solicitud GET.","source":"nvd"}],"published":"2024-05-04T00:00:00.000Z","modified":"2026-06-17T07:33:28.197Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"version":"8.0.3","status":"affected"}],"vendor":"thinkphp","product":"thinkphp","cpe":"cpe:2.3:a:thinkphp:thinkphp:-:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"8.0.0","status":"affected","fixed":"8.0.4"}],"ecosystem":"Packagist","package":"topthink/framework","purl":"pkg:composer/topthink/framework","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"6.1.0","status":"affected","fixed":"6.1.5"}],"ecosystem":"Packagist","package":"topthink/framework","purl":"pkg:composer/topthink/framework","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"6.0.17"}],"ecosystem":"Packagist","package":"topthink/framework","purl":"pkg:composer/topthink/framework","source":"ghsa"},{"ranges":[{"status":"affected","version":"8.0.3"}],"vendor":"thinkphp","product":"thinkphp","cpe":"cpe:2.3:a:thinkphp:thinkphp:8.0.3:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/top-think/framework/issues/2996","tags":["exploit","issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34467","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/top-think/framework/commit/403358cd3e510e2fdab63f951930bdd093314eee","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/top-think/framework/commit/57d1950a1844ef8d3098ea290032aeb92e2e32c3","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/top-think/framework/commit/d3904e51e279c3b72ee206192aeccf9b1cffb534","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/top-think/framework","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-08-16T18:14:34.258Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-34467","url":"https://www.cve.org/CVERecord?id=CVE-2024-34467","licence":"CVE Terms of Use","modified":"2024-08-16T18:18:27.983Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-969f-v7jv-pgj3","url":"https://github.com/advisories/GHSA-969f-v7jv-pgj3","licence":"CC-BY-4.0","modified":"2024-08-16T22:20:33.436Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-34467","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34467","licence":"Public domain","modified":"2026-06-17T07:33:28.197Z"}],"updatedAt":"2026-11-25T22:58:39.940Z","epss":{"score":0.00417,"percentile":0.38,"date":"2026-12-01T12:00:22.000Z"}}