browser-use is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor
61
Medium Risk
Affected versions of this package are vulnerable to sensitive information disclosure due to a missing filtering step for state messages, specifically within the agent_history_description. It allows sensitive values (like passwords and API keys) from action results to be included in messages sent to the LLM, as the system failed to replace these actual values with placeholder tags before transmission. An attacker could exploit this by crafting malicious actions or prompts that cause the agent to execute operations returning sensitive data, which would then be leaked into the LLM's context in subsequent messages, potentially enabling the extraction of credentials, secrets, or other protected information through the chat history.
You are affected if you are using a version that falls within the vulnerable range.
browser-use is vulnerable to Exposure of Sensitive Information to an Unauthorized Actor in versions 0.7.8 - 0.11.0.
Upgrade the browser-use library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant