Skip to content

CVE-2024-3851 Unrestricted File Upload Leading to XSS in imartinez/privategpt

MediumCVSS 5.4 EPSS 0.32%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
imartinez/privategpt <= latest after latest Fixed
pribai privategpt <= 0.6.2 after 0.6.2 Fixed

Affected products

ProductAffected versionsFixed in
imartinez/privategpt <= latest No fix listed
pribai privategpt <= 0.6.2 No fix listed

References

  • huntr.com exploit issue-tracking third-party-advisory