| Advisory ID | pypa/smolagents/PYSEC-2026-1930 |
| Aliases |
CVE-2025-11844
GHSA-8mf9-rmgw-33qc PYSEC-2026-1930 |
| Summary | Hugging Face Smolagents XPath injection vulnerability in the search_item_ctrl_f function 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. |
| Status | Published |
| Exploitability | 0.5 |
| Weighted Severity | 4.9 |
| Risk | 2.5 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| There are no known CWE. |
| System | Score | Found at |
|---|---|---|
| cvssv3 | 5.4 | https://github.com/pypa/advisory-database/blob/main/vulns/smolagents/PYSEC-2026-1930.yaml |
| Reference id | Reference type | URL |
|---|---|---|
| https://github.com/huggingface/smolagents | ||
| https://pypi.org/project/smolagents | ||
| 01ab4405-9bca-4b26-b7a3-5ca1863a69b4 | Other | https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4 |
| CVE-2025-11844 | https://nvd.nist.gov/vuln/detail/CVE-2025-11844 | |
| f570ed5e17999d4cf7d5e79c2830fbaefab8a794 | Other | https://github.com/huggingface/smolagents/commit/f570ed5e17999d4cf7d5e79c2830fbaefab8a794 |
| GHSA-8mf9-rmgw-33qc | https://github.com/advisories/GHSA-8mf9-rmgw-33qc |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Vector: SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2025-10-22T14:07:23Z/
Decision: Track
Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2025/11xxx/CVE-2025-11844.json
Source Advisory: vulnrichment/CVE-2025-11844
[{'Exploitation': 'poc'},
{'Automatable': 'no'},
{'Technical Impact': 'partial'},
{'Mission Prevalence': 'minimal'},
{'Public Well-being Impact': 'material'},
{'Mission & Well-being': 'medium'}]