p PatchFirst

CVE-2025-11844

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

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

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 · Moyenne · EPSS 0,3% · Correctif disponible

Publication
Mise à jour

Pile logicielle: python

Produits et versions concernés

  • huggingface/smolagents

    Versions du logiciel
    • ≥ unspecified, < 1.22.0: Concernée (custom)

    Mettez à jour vers 1.22.0

  • smolagents PyPI

    Versions du logiciel
    • 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
    Plages de versions concernées
    • ECOSYSTEM: < 1.22.0

    Mettez à jour vers 1.22.0

Sources originales

Vérifiez votre serveur →