p PatchFirst

CVE-2025-11844

CVE-2025-11844 · XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function

Esta página presenta datos de fuentes públicas de vulnerabilidades. Consulta el aviso original antes de actualizar.

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.

CVSS 5.4 · Media · EPSS 0,3% · Corrección disponible

Publicación
Actualización

Pila tecnológica: python

Productos y versiones afectados

  • huggingface/smolagents

    Versiones
    • ≥ unspecified, < 1.22.0: Afectada (custom)

    Actualiza a 1.22.0

  • smolagents PyPI

    Versiones
    • 0.1.0
    • 0.1.2
    • 0.1.3
    • 1.0.0
    • 1.1.0
    • 1.10.0
    • 1.11.0
    • 1.12.0
    • 1.13.0
    • 1.14.0
    • 1.15.0
    • 1.16.0
    • 1.16.1
    • 1.17.0
    • 1.18.0
    • 1.19.0
    • 1.2.0
    • 1.2.1
    • 1.2.2
    • 1.20.0
    • 1.21.0
    • 1.21.1
    • 1.21.2
    • 1.21.3
    • 1.3.0
    • 1.4.0
    • 1.4.1
    • 1.5.0
    • 1.5.1
    • 1.6.0
    • 1.7.0
    • 1.8.0
    • 1.8.1
    • 1.9.0
    • 1.9.1
    • 1.9.2
    Intervalos de versiones afectados
    • ECOSYSTEM: < 1.22.0

    Actualiza a 1.22.0

Fuentes originales

Comprueba tu servidor →