CVE-2024-3851

A stored Cross-Site Scripting (XSS) vulnerability exists in the 'imartinez/privategpt' repository due to improper validation of file uploads. Attackers can exploit this vulnerability by uploading malicious HTML files, such as those containing JavaScript payloads, which are then executed in the context of the victim's session when accessed. This could lead to the execution of arbitrary JavaScript code in the context of the user's browser session, potentially resulting in phishing attacks or other malicious actions. The vulnerability affects the latest version of the repository.
References
Link Resource
https://huntr.com/bounties/cae1a492-4e09-4d56-8e11-17703bdfe653 Third Party Advisory Exploit Issue Tracking
https://huntr.com/bounties/cae1a492-4e09-4d56-8e11-17703bdfe653 Third Party Advisory Exploit Issue Tracking
Configurations

Configuration 1 (hide)

cpe:2.3:a:pribai:privategpt:*:*:*:*:*:*:*:*

History

19 May 2025, 16:13

Type Values Removed Values Added
First Time Pribai privategpt
Pribai
CPE cpe:2.3:a:pribai:privategpt:*:*:*:*:*:*:*:*
References () https://huntr.com/bounties/cae1a492-4e09-4d56-8e11-17703bdfe653 - () https://huntr.com/bounties/cae1a492-4e09-4d56-8e11-17703bdfe653 - Third Party Advisory, Exploit, Issue Tracking
CVSS v2 : unknown
v3 : 6.8
v2 : unknown
v3 : 5.4

21 Nov 2024, 09:30

Type Values Removed Values Added
References () https://huntr.com/bounties/cae1a492-4e09-4d56-8e11-17703bdfe653 - () https://huntr.com/bounties/cae1a492-4e09-4d56-8e11-17703bdfe653 -

16 May 2024, 13:03

Type Values Removed Values Added
New CVE

Information

Published : 2024-05-16 09:15

Updated : 2025-05-19 16:13


NVD link : CVE-2024-3851

Mitre link : CVE-2024-3851

CVE.ORG link : CVE-2024-3851


JSON object : View

Products Affected

pribai

  • privategpt
CWE
CWE-79

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