CVE-2025-11844

CVE-2025-11844 is a medium-severity vulnerability in Huggingface Smolagents with a CVSS 3.x base score of 5.4. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-643.

Key facts

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.

Frequently asked questions

What is CVE-2025-11844?
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.
How severe is CVE-2025-11844?
CVE-2025-11844 has a CVSS 3.x base score of 5.4, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and user interaction. Impact on confidentiality is low, integrity low, and availability none.
Is CVE-2025-11844 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (17th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2025-11844?
CVE-2025-11844 affects Huggingface Smolagents. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2025-11844?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2025-11844 have an EU (EUVD) identifier?
Yes. CVE-2025-11844 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-35361.
When was CVE-2025-11844 published?
CVE-2025-11844 was published on 2025-10-22 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Huggingface Smolagents

All CVEs affecting Huggingface Smolagents →

Other CWE-643 vulnerabilities

Browse all CWE-643 vulnerabilities →