CVE-2024-3851
Unrestricted File Upload Leading to XSS in imartinez/privategpt
- State
- Published
- Severity
- 6.8 Medium
- Published
- May 16, 2024
- Updated
- Aug 1, 2024
- Reserved
- Apr 15, 2024
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.0 | 6.8 Medium | CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:N/A:N | @huntr_ai |
Weaknesses
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Products
| Product | Versions |
|---|---|
imartinez/privategptimartinez |
|
References
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.