Unrestricted File Upload Leading to XSS in imartinez/privategpt
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2024-3851
- 2026-10-03 Alias added: GHSA-rw5r-chjg-pmjp
References
More imartinez Privategpt vulnerabilities
- TI-2024-04045 Python Command Injection in imartinez/privategpt CVSS 3.1CRITICAL 9.8
- TI-2024-11191 Denial of Service in imartinez/privategpt CVSS 3.0HIGH 7.5
- TI-2024-07432 Denial of Service (DOS) in imartinez/privategpt CVSS 3.0HIGH 7.5
- TI-2024-03174 Local File Inclusion in imartinez/privategpt CVSS 3.0HIGH 7.5
- TI-2024-04813 Server Side Request Forgery (SSRF) in imartinez/privategpt CVSS 3.1HIGH 7.2
- TI-2024-07443 Stored XSS in imartinez/privategpt CVSS 3.1MEDIUM 6.1
Sources
- CVE-2024-3851 · CVE Program
- CVE-2024-3851 · NVD
- FIRST EPSS
- GHSA-rw5r-chjg-pmjp · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences