p PatchFirst

CVE-2025-11844

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

Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.

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 · Mittel · EPSS 0,3% · Korrektur verfügbar

Veröffentlicht
Aktualisiert

Technologie-Stack: python

Betroffene Produkte und Versionen

  • huggingface/smolagents

    Softwareversionen
    • ≥ unspecified, < 1.22.0: Betroffen (custom)

    Auf 1.22.0 aktualisieren

  • smolagents PyPI

    Softwareversionen
    • 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
    Betroffene Versionsbereiche
    • ECOSYSTEM: < 1.22.0

    Auf 1.22.0 aktualisieren

Originalquellen

Prüfen Sie Ihren Server →