XSS in Imartinez Imartinez/privategpt

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.003 (24.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-3851?
CVE-2024-3851 is a medium-severity vulnerability in Imartinez Imartinez/privategpt, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2024-05-16.
How severe is CVE-2024-3851?
Medium severity. CVSS v3 base score is 5.4 out of 10.
Is CVE-2024-3851 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.