CVE-2025-47241
Python vulnerability analysis and mitigation

Overview

CVE-2025-47241 affects the browser-use (aka Browser Use) library versions before 0.1.45, discovered during a manual source code review by ARIMLABS.AI researchers and disclosed on May 3, 2025. The vulnerability involves improper URL parsing of allowed_domains functionality, where the userinfo component in the authority section of URLs could be manipulated to bypass domain restrictions (GitHub Advisory, NVD).

Technical details

The vulnerability exists in the BrowserContextConfig class within browseruse/browser/context.py. The isurlallowed() method incorrectly handles domain parsing by splitting on ':' character without properly accounting for the userinfo section of the URL. This allows attackers to bypass domain restrictions by placing a whitelisted domain in the username portion of the URL. For example, with allowed_domains set to ['example.com'], an attacker could bypass restrictions using URLs like 'https://example.com:password@malicious.com'. The vulnerability has been assigned a CVSS v3.1 base score of 9.3 (Critical) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L (GitHub Advisory).

Impact

The vulnerability allows attackers to bypass domain whitelisting controls, potentially leading to unauthorized access to internal services and networks. This could result in unauthorized browsing capabilities and the ability to enumerate localhost services. The impact is particularly severe for organizations relying on this functionality for security controls (GitHub Advisory, Security Online).

Mitigation and workarounds

The vulnerability has been fixed in version 0.1.45 of browser-use. The patch ensures proper validation of URLs by correctly handling the authority component and preventing bypass attempts through userinfo manipulation. Users are strongly recommended to upgrade to version 0.1.45 or later (GitHub Release).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management