CVE-2024-3851

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-3851
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-3851.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2024-3851
Published
2024-05-16T09:15:14Z
Modified
2025-05-21T03:04:29.358977Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Git / github.com/zylon-ai/private-gpt

Affected ranges

Type
GIT
Repo
https://github.com/zylon-ai/private-gpt
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected

Affected versions

Other

fix/local-setup

v0.*

v0.0.1
v0.0.2
v0.1.0
v0.2.0
v0.3.0
v0.4.0
v0.5.0
v0.6.0
v0.6.1
v0.6.2