CVE-2024-3851CWE-79

Unrestricted File Upload Leading to XSS in imartinez/privategpt

Medium · published May 16, 2024

CVSS v3.0
6.8
EPSS
0%
Percentile
23.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
6.8 · MEDIUM
Vector
CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00317 · 23.4th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2024-05-16T09:03Z
EPSS history
Timeline
  • 16 MAY 09:03Z
    Unrestricted File Upload Leading to XSS in imartinez/privategpt
    cvelistv5