Description (CNA)
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 (CNA)
| Vendor / product | Versions |
|---|---|
| e2b-dev / open-computer-use | affected 0 through 610bac85d242b2fdf43fbe36bce2348658a2d4c9 |
CWE
CWE-79
References
- https://hackmd.io/@haind03/e2b-open-computer-use-html-log-injection
- https://github.com/e2b-dev/open-computer-use/blob/610bac85d242b2fdf43fbe36bce2348658a2d4c9/os_computer_use/logging.py#L60-L82
- https://github.com/e2b-dev/open-computer-use/blob/610bac85d242b2fdf43fbe36bce2348658a2d4c9/os_computer_use/sandbox_agent.py#L25-L35
- https://github.com/e2b-dev/open-computer-use
- https://www.vulncheck.com/advisories/open-computer-use-through-commit-610bac8-stored-xss-via-log-html-session-log
ADP enrichment
No English description supplied.