Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2025-11844

5.4 · MEDIUM
Published Oct 22, 2025 huggingface CWE-643 EPSS 0.26% (18th pctl)

Overview

CVE-2025-11844 is a medium-severity vulnerability affecting huggingface smolagents. It was published on October 22, 2025 and has a CVSS 3.0 base score of 5.4 (MEDIUM).

This vulnerability has a CVSS 3.0 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

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

Remediation

Check the references section for vendor advisories and patches from huggingface. Update smolagents to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
huggingface smolagents >= 1.20.0, < 1.22.0 Affected

Frequently Asked Questions

What is CVE-2025-11844?

CVE-2025-11844 is a medium-severity vulnerability affecting huggingface smolagents. It was published on October 22, 2025 and has a CVSS 3.0 base score of 5.4 (MEDIUM).

How severe is CVE-2025-11844?

This vulnerability has a CVSS 3.0 base score of 5.4, rated MEDIUM. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2025-11844?

Check the references section for vendor advisories and patches from huggingface. Update smolagents to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2025-11844?

CyberStrike's AI-powered security agents can automatically detect CVE-2025-11844 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.