Description
browser-use before 1.0.0 contains a URL parser differential vulnerability in SecurityWatchdog that allows attackers to bypass allowed_domains, prohibited_domains, and block_ip_addresses checks by crafting a URL with a backslash before the allowed host, exploiting the mismatch between urllib.parse hostname extraction and Chromium's WHATWG-style URL parsing. Attackers can influence an LLM-controlled navigate action, such as through prompt injection, to send requests to loopback or private addresses or arbitrary external hosts before the browser redirects to about:blank, enabling SSRF and persistent state changes on the target server.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Required
- Scope
- Affects other components
- Confidentiality
- Low impact
- Integrity
- Low impact
- Availability
- None
Weakness type (CWE)
- CWE-1471 Insufficiently Controlled Parser Differential
References
- github.com/browser-use/browser-use/releases?page=2#release-1.0.0 patch
- github.com/browser-use/browser-use/commit/3752f0e3193926c986c3e5d2a07d40bf2439c5cf
- github.com/browser-use/browser-use/pull/6314
- www.vulncheck.com/advisories/browser-use-before-1.0.0-securitywatchdog-url-parser-ssrf-byp
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.