CVE-2025-11844
Last modified
CVE-2025-11844 is a vulnerability of currently unknown severity. 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. EPSS estimates a 0.25% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Huggingface | Smolagents | >= 1.20.0, < 1.22.0 |
References
- https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4Exploit, Third Party Advisory
- https://huntr.com/bounties/01ab4405-9bca-4b26-b7a3-5ca1863a69b4Exploit, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-11844?
How severe is CVE-2025-11844?
How do I fix CVE-2025-11844?
Are you affected by CVE-2025-11844?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
