SCA: security update for smolagents (GHSA-8mf9-rmgw-33qc)

medium Tenable Cloud Security Plugin ID 435730

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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.
(CVE-2025-11844)

See Also

https://github.com/advisories/GHSA-8mf9-rmgw-33qc

Plugin Details

Severity: Medium

ID: 435730

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 10/23/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.47

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2025-11844

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.9

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/22/2025

Vulnerability Publication Date: 10/22/2025

Reference Information

CVE: CVE-2025-11844

cwe: CWE-643