CVE-2024-3851 MEDIUM

CVE-2024-3851: Unrestricted File Upload Leading to XSS in imartinez/privategpt

Vendor Imartinez
Product imartinez/privategpt
Weakness CWE-79 · XSS
Published May 16, 2024
Last update August 1, 2024

CVSS base score

6.8/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality High
Integrity None

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 16, 2024 CVE published
August 1, 2024 Record updated