Staging Environment: Content and features may be unstable or change without notice.
Advisory details: vulnrichment / CVE-2025-11844
Advisory ID vulnrichment/CVE-2025-11844
Aliases
Summary 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 0.0
Risk
Affected and Fixed Packages Package Details
Introduced and Fixed Package Commit Patches Package Commit Patches Details
Weaknesses (1)
System Score Found at
cvssv3 5.4
ssvc Track
Reference id Reference type URL
01ab4405-9bca-4b26-b7a3-5ca1863a69b4 Other https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4
f570ed5e17999d4cf7d5e79c2830fbaefab8a794 Other https://github.com/huggingface/smolagents/commit/f570ed5e17999d4cf7d5e79c2830fbaefab8a794
No exploits are available.

No EPSS data available for this advisory.

Patch URL
There are no known patches.
Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N Found at None
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/ Found at 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

View SSVC decision tree
[{'Exploitation': 'poc'},
 {'Automatable': 'no'},
 {'Technical Impact': 'partial'},
 {'Mission Prevalence': 'minimal'},
 {'Public Well-being Impact': 'material'},
 {'Mission & Well-being': 'medium'}]