CVE-2024-9107

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.
References
Link Resource
https://huntr.com/bounties/a2972c51-4780-4f60-afbf-a7a8ee4066ea Exploit Third Party Advisory
Configurations

Configuration 1 (hide)

cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:2024-09-19:*:*:*:*:*:*:*

History

01 Aug 2025, 18:25

Type Values Removed Values Added
Summary
  • (es) Existe una vulnerabilidad de Cross-Site Scripting (XSS) almacenado en el repositorio gaizhenbiao/chuanhuchatgpt, que afecta a la versión git 20b2e02. Esta vulnerabilidad se debe a una depuración incorrecta de las etiquetas HTML en las subidas del historial de chat. En concreto, la lógica de depuración no gestiona correctamente las etiquetas HTML dentro de los bloques de código, lo que permite a un atacante inyectar scripts maliciosos. Esto puede provocar la ejecución de código JavaScript arbitrario en el navegador del usuario, lo que podría provocar el robo de identidad u otras acciones maliciosas.
First Time Gaizhenbiao
Gaizhenbiao chuanhuchatgpt
CPE cpe:2.3:a:gaizhenbiao:chuanhuchatgpt:2024-09-19:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 6.8
v2 : unknown
v3 : 5.4
References () https://huntr.com/bounties/a2972c51-4780-4f60-afbf-a7a8ee4066ea - () https://huntr.com/bounties/a2972c51-4780-4f60-afbf-a7a8ee4066ea - Exploit, Third Party Advisory

20 Mar 2025, 10:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-03-20 10:15

Updated : 2025-08-01 18:25


NVD link : CVE-2024-9107

Mitre link : CVE-2024-9107

CVE.ORG link : CVE-2024-9107


JSON object : View

Products Affected

gaizhenbiao

  • chuanhuchatgpt
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')