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

CVE-2024-9107Stored XSS in gaizhenbiao/chuanhuchatgpt

Medium 6.8

In plain English

A medium-severity cross-site scripting in gaizhenbiao/chuanhuchatgpt from gaizhenbiao. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 47% of all known vulnerabilities).

Severity (CVSS 3.0)6.8Medium
Exploit odds (30 days)0.6%top 52.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIchuanhuchatgptno fix listedPYSEC-2025-95

Affected products (as reported)

VendorProductVersions
gaizhenbiao gaizhenbiao/chuanhuchatgpt unspecified – through latest

Weakness: CWE-79 · Vector: CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

References