Skip to content

CVE-2024-9107 Stored XSS in gaizhenbiao/chuanhuchatgpt

MediumCVSS 5.4 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
gaizhenbiao/chuanhuchatgpt <= latest after latest Fixed
pypi chuanhuchatgpt(PyPI) <= 2024-09-19 after 2024-09-19 Fixed
GaiZhenbiao ChuanhuChatGPT = 2024-09-19 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pypi chuanhuchatgpt(PyPI) <= 2024-09-19 No fix listed
gaizhenbiao/chuanhuchatgpt <= latest No fix listed
GaiZhenbiao ChuanhuChatGPT = 2024-09-19 No fix listed

References