CVE-2024-3851

Unrestricted File Upload Leading to XSS in imartinez/privategpt

Published May 16, 2024 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-32419 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.
History
Type Values Removed Values Added
First Time appeared Pribai
Pribai privategpt
CPEs cpe:2.3:a:pribai:privategpt:*:*:*:*:*:*:*:*
Vendors & Products Pribai
Pribai privategpt
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
@huntr_ai
Published
Updated
Aug 1, 2024, 8:26 PM
Reserved
Apr 15, 2024, 7:56 PM
Status
Analyzed
Published
May 16, 2024, 9:15 AM
Modified
Jun 17, 2026, 7:45 AM