CVE-2025-11844 (CNNVD-202510-3063)
中文标题:
Hugging Face Transformers 安全漏洞
英文标题:
XPath Injection in Hugging Face Smolagents search_item_ctrl_f Function
漏洞描述
中文描述:
Hugging Face Transformers是Hugging Face开源的为 Jax、PyTorch 和 TensorFlow 打造的先进的自然语言处理。 Hugging Face Transformers 1.20.0版本存在安全漏洞,该漏洞源于search_item_ctrl_f函数直接拼接用户输入到XPath表达式,可能导致XPath注入攻击。
英文描述:
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.
CWE类型:
标签:
受影响产品
| 厂商 | 产品 | 版本 | 版本范围 | 平台 | CPE |
|---|---|---|---|---|---|
| huggingface | huggingface/smolagents | - | < 1.22.0 | - |
cpe:2.3:a:huggingface:huggingface_smolagents:*:*:*:*:*:*:*:*
|
| huggingface | smolagents | * | - | - |
cpe:2.3:a:huggingface:smolagents:*:*:*:*:*:*:*:*
|
解决方案
中文解决方案:
英文解决方案:
临时解决方案:
CVSS评分详情
3.0 (cna)
MEDIUMCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
时间信息
利用信息
数据源详情
| 数据源 | 记录ID | 版本 | 提取时间 |
|---|---|---|---|
| CVE | cve_CVE-2025-11844 |
2025-11-11 15:23:03 | 2025-11-11 07:40:06 |
| NVD | nvd_CVE-2025-11844 |
2025-11-11 15:01:06 | 2025-11-11 07:47:56 |
| CNNVD | cnnvd_CNNVD-202510-3063 |
2025-11-11 15:12:59 | 2025-11-11 08:00:18 |
版本与语言
安全公告
变更历史
查看详细变更
- vulnerability_type: 未提取 -> 其他
- cnnvd_id: 未提取 -> CNNVD-202510-3063
- data_sources: ['cve', 'nvd'] -> ['cnnvd', 'cve', 'nvd']
查看详细变更
- affected_products_count: 1 -> 2
- data_sources: ['cve'] -> ['cve', 'nvd']