{"id":72131,"date":"2025-10-22T17:45:49","date_gmt":"2025-10-22T14:15:49","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2025-11844-xpath-injection-in-hugging-face-smolagents-search_item_ctrl_f-function\/"},"modified":"2025-10-22T17:45:49","modified_gmt":"2025-10-22T14:15:49","slug":"cve-2025-11844-xpath-injection-in-hugging-face-smolagents-search_item_ctrl_f-function","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2025-11844-xpath-injection-in-hugging-face-smolagents-search_item_ctrl_f-function\/","title":{"rendered":"CVE-2025-11844 &#8211; XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function"},"content":{"rendered":"<p>CVE ID : CVE-2025-11844<\/p>\n<p>Published :  Oct. 22, 2025, 2:15 p.m. | 27\u00a0minutes ago<\/p>\n<p>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.<\/p>\n<p>Severity: 5.4 | MEDIUM<\/p>\n<p>Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID : CVE-2025-11844 Published : Oct. 22, 2025, 2:15 p.m. | 27\u00a0minutes ago 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 &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-72131","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/72131","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=72131"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/72131\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=72131"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=72131"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=72131"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}