---
id: CVE-2026-108722
title: >-
  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
summary: >-
  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…
severity: medium
cvss: 4.2
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-10-11'
updated: '2026-10-11'
sourceUpdated: '2026-10-11T13:17:15.673'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-108722'
references:
  - url: 'https://github.com/e2b-dev/open-computer-use'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/e2b-dev/open-computer-use/blob/610bac85d242b2fdf43fbe36bce2348658a2d4c9/os_computer_use/logging.py#L60-L82
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/e2b-dev/open-computer-use/blob/610bac85d242b2fdf43fbe36bce2348658a2d4c9/os_computer_use/sandbox_agent.py#L25-L35
    label: disclosure@vulncheck.com
  - url: 'https://hackmd.io/@haind03/e2b-open-computer-use-html-log-injection'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/open-computer-use-through-commit-610bac8-stored-xss-via-log-html-session-log
    label: disclosure@vulncheck.com
tags:
  - nvd
ingestedAt: '2026-10-11T13:51:17.028Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
