> CVE-2025-11844 [MEDIUM]

« BACK_TO_HOME
PUBLISHED
2025-10-22 14:15
MODIFIED
2025-10-22 14:15
CVSS_SCORE V3
5.4
EPSS (Prob. Exploit)
0.28%
Top 79.4%
DATA SOURCES:
NVD 🔗 2025-10-22 CVE PROJECT 🔗 2026-01-19 CWE MITRE 🔗 2026-11-01 FIRST EPSS 🔗 2026-11-08 GITHUB 🔗 2026-10-28 OSV 🔗 2026-11-08

> DESCRIPTION

Hugging Face Smolagents version 1.20.0 contains an XPath injection vulnerability in the search_item_ctrl_f function located in src/smolagents/vision_web_browser.py. The function constructs an XPath query by directly concatenating user-supplied input into the XPath expression without proper sanitization or escaping. This allows an attacker to inject malicious XPath syntax that can alter the intended query logic. The vulnerability enables attackers to bypass search filters, access unintended DOM elements, and disrupt web automation workflows. This can lead to information disclosure, manipulation of AI agent interactions, and compromise the reliability of automated web tasks. The issue is fixed in version 1.22.0.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EXPLOITABILITY
2.8
IMPACT
2.5

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/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
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
Required (R)
Nécessite une action utilisateur (clic lien, ouverture fichier, etc.)
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre 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

> WEAKNESSES

CWE-643

> CWE DETAILED DESCRIPTIONS

CWE-643: Improper Neutralization of Data within XPath Expressions - The product uses external input to dynamically construct an XPath expression used to retrieve data from an XML database, but it does not neutralize or incorrectly neutralizes that input.

> GITHUB SECURITY ADVISORY

GHSA-8mf9-rmgw-33qc MODERATE

Hugging Face Smolagents XPath injection vulnerability in the search_item_ctrl_f function

AFFECTED PACKAGES:
PIP / smolagents
< 1.22.0
Fixed in: 1.22.0

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function

AFFECTED PACKAGES:
Unknown / Unknown
ALIASES:
GHSA-8mf9-rmgw-33qc, PYSEC-2026-1930

> HISTORIQUE DES MODIFICATIONS

Première apparition
22/10/2025 14:15
Source: NVD
📊 ENRICHISSEMENT 01/11/2026 06:58
CWE
Champ modifié: Description CWE
Ancienne valeur:
CWE-643: Improper Neutralization of Data within XPath Expressions ('XPath Injection') - The product uses external input to dynamically construct an XPath expression used to retrieve data from an XML d...
Nouvelle valeur:
CWE-643: Improper Neutralization of Data within XPath Expressions - The product uses external input to dynamically construct an XPath expression used to retrieve data from an XML database, but it does...
📊 ENRICHISSEMENT 01/11/2025 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-643: Improper Neutralization of Data within XPath Expressions ('XPath Injection') - The product uses external input to dynamically construct an XPath expression used to retrieve data from an XML d...
📊 ENRICHISSEMENT 22/10/2025 16:45
CVEPROJECT
Champ modifié: CVE Project
Ancienne valeur:
Non
Nouvelle valeur:
Oui
Total des modifications: 3 Dernière mise à jour: 1 week ago

> REFERENCES

https://github.com/huggingface/smolagents/commit/f570ed5e17999d4cf7d5e79c2830fba...
https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4
https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4
« BACK_TO_HOME