Medium severity · published May 16, 2024
CVE-2024-3851
Unrestricted File Upload Leading to XSS in imartinez/privategpt
5.4
CVSS
0.3%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 25% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
IM
imartinez/privategpt · imartinez
through latest · source: vendor
PR
Privategpt · Pribai
through 0.6.2 · source: NVD
Affected product
IM
imartinez/privategpt
imartinez
More from imartinez/privategpt
9.8
CVE-2024-4343
Python Command Injection in imartinez/privategpt
7.5
CVE-2024-12063
Denial of Service in imartinez/privategpt
7.5
CVE-2024-8018
Denial of Service (DOS) in imartinez/privategpt
7.5
CVE-2024-3403
Local File Inclusion in imartinez/privategpt
7.2
CVE-2024-5186
Server Side Request Forgery (SSRF) in imartinez/privategpt