Description
open-computer-use through commit 610bac8 contains a stored cross-site scripting vulnerability in Logger.write_log_file in os_computer_use/logging.py, which writes transcript text into log.html without HTML escaping. Attackers controlling sandbox content, such as web pages or files appearing in run_command output, can inject script that runs when operators open the log, exfiltrating transcript contents.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| e2b-dev | open-computer-use | — | — |
References
- https://hackmd.io/@haind03/e2b-open-computer-use-html-log-injection third-party-advisory
- https://github.com/e2b-dev/open-computer-use/blob/610bac85d242b2fdf43fbe36bce2348658a2d4c9/os_computer_use/logging.py#L60-L82 technical-description
- https://github.com/e2b-dev/open-computer-use/blob/610bac85d242b2fdf43fbe36bce2348658a2d4c9/os_computer_use/sandbox_agent.py#L25-L35 technical-description
- https://github.com/e2b-dev/open-computer-use product
- VulnCheck Advisory: open-computer-use through commit 610bac8 Stored XSS via log.html Session Log third-party-advisory