> CVE-2024-3851 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2024-05-16 09:15
MODIFIED
2025-05-19 16:13
CVSS_SCORE V3
5.4
EPSS (Prob. Exploit)
0.32%
Top 75.3%
DATA SOURCES:
NVD 🔗 2025-10-18 CVE PROJECT 🔗 2026-01-19 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-11-04 OSV 🔗 2026-11-08

> 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.

> AFFECTED_PRODUCTS

Pribai - Privategpt
<= 0.6.2

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
Low (L)
Peu de conditions requises pour exploiter
PR (Privilèges Requis)
Privileges Required
Low (L)
Authentifié avec compte utilisateur basique
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Changed (C)
Impact s'étend au-delà du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
Low (L)
Divulgation limitée d'informations
I (Impact Intégrité)
Integrity Impact
Low (L)
Modification limitée des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
Low
Divulgation limitée d'informations
Intégrité
Low
Modification limitée des données possible
Disponibilité
None
Aucune interruption de service

> GITHUB SECURITY ADVISORY

GHSA-98j2-3j3p-fw2v CRITICAL

Session Middleware Token Injection Vulnerability

AFFECTED PACKAGES:
GO / github.com/gofiber/fiber/v2/middleware/session
<= 2.52.4
Fixed in: 2.52.5
GO / github.com/gofiber/fiber/v2
<= 2.52.4
Fixed in: 2.52.5
GO / github.com/gofiber/fiber
<= 2.52.4
Fixed in: 2.52.5

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

Unrestricted File Upload Leading to XSS in imartinez/privategpt

AFFECTED PACKAGES:
Unknown / Unknown
11 versions affected

> HISTORIQUE DES MODIFICATIONS

Première apparition
16/05/2024 09:15
Source: NVD
📊 ENRICHISSEMENT 18/10/2025 14:51
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 1 Dernière mise à jour: 1 year ago
« BACK_TO_HOME