Skip to content
OpenAdvisories
Medium · 6.8 CVE-2024-9107 EUVD-2025-6869GHSA-hm5x-x82r-982cPYSEC-2025-95

Stored XSS in gaizhenbiao/chuanhuchatgpt

Published Mar 20, 2025 · Updated Mar 20, 2025 · Assigned by @huntr_ai

Description

A stored cross-site scripting (XSS) vulnerability exists in the gaizhenbiao/chuanhuchatgpt repository, affecting version git 20b2e02. The vulnerability arises from improper sanitization of HTML tags in chat history uploads. Specifically, the sanitization logic fails to handle HTML tags within code blocks correctly, allowing an attacker to inject malicious scripts. This can lead to the execution of arbitrary JavaScript code in the context of the user's browser, potentially leading to identity theft or other malicious actions.

Affected products

VendorProductAffectedFixed
gaizhenbiao gaizhenbiao/chuanhuchatgpt unspecified – ≤ latest —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI chuanhuchatgpt <= 2024-09-19 — PYSEC-2025-95

References