CVE-2024-3851
Last modified
CVE-2024-3851 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. 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. EPSS estimates a 0.32% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Pribai | Privategpt | <= 0.6.2 |
References
- https://huntr.com/bounties/cae1a492-4e09-4d56-8e11-17703bdfe653Exploit, Issue Tracking, Third Party Advisory
- https://huntr.com/bounties/cae1a492-4e09-4d56-8e11-17703bdfe653Exploit, Issue Tracking, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-3851?
How severe is CVE-2024-3851?
How do I fix CVE-2024-3851?
Are you affected by CVE-2024-3851?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
