chore(deps): update dependency browser-use to v0.1.45 [security] #168
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.1.23->==0.1.45GitHub Vulnerability Alerts
CVE-2025-47241
Summary
During a manual source code review, ARIMLABS.AI researchers identified that the
browser_usemodule includes an embedded whitelist functionality to restrict URLs that can be visited. This restriction is enforced during agent initialization. However, it was discovered that these measures can be bypassed, leading to severe security implications.Details
File:
browser_use/browser/context.pyThe
BrowserContextConfigclass defines anallowed_domainslist, which is intended to limit accessible domains. This list is checked in the_is_url_allowed()method before navigation:The _is_url_allowed() method is responsible for checking whether a given URL is permitted:
The core issue stems from the line
domain = domain.split(':')[0], which allows an attacker to manipulate basic authentication credentials by providing a username:password pair. By replacing the username with a whitelisted domain, the check can be bypassed, even though the actual domain remains different.Proof of Concept (PoC)
Set allowed_domains to ['example.com'] and use the following URL:
https://example.com:pass@localhost:8080
This allows bypassing all whitelist controls and accessing restricted internal services.
Impact
Release Notes
browser-use/browser-use (browser-use)
v0.1.45Compare Source
What's Changed
claudecode forbrowser-useby @pirate in #1559BrowserWindowContextSizeobject removed, switch to flat attrs instead. sorry for the trouble!change:
BrowserContextConfig(window_size=BrowserWindowContextSize(width=1280, height=900)to: flat
BrowserContextConfig(window_width=1280, window_height=900), used for viewport as well whenno_viewport=Falsein #1557
allowed_domainsby @pirate in #1561_ _
New Contributors
Full Changelog: browser-use/browser-use@0.1.43...0.1.45
v0.1.43Compare Source
What's Changed
New Contributors
Full Changelog: browser-use/browser-use@0.1.42...0.1.43
v0.1.42Compare Source
What's Changed
self._verify_llm_connection()on init by @pirate in #1448force_new_context=Trueflag so that custom context config can be applied when connecting to existing browsers by @kalil0321 in #1412Annotatedby @cclauss in #1451mem0telemetry by @vfdev-5 in #1470New Contributors
Full Changelog: browser-use/browser-use@0.1.41...0.1.42
v0.1.41Compare Source
🛠️ What's Changed
examples/models/claude-3.7-sonnet.pyby @dsomel21 in #909--disable-web-securityby @pirate in #1114simple.pyexample imports by @pirate in #1149google-api-coreto Dependencies by @pppp606 in #1027browser.close()whenkeep_alive=Falseby @pirate in #1177extract_contentaction smaller by @mkuts12 in #981*.example.comby @pirate in #1182ProxySettings&BrowserContextWindowSizeto pydantic models + fix bugs where code was expectingdicts by @pirate in #1300New Contributors
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.