---
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
vendor: e2b-dev
product: open-computer-use
affected:
  - open-computer-use <= 610bac85d242b2fdf43fbe36bce2348658a2d4c9
published: '2026-10-11'
updated: '2026-10-16'
sourceUpdated: '2026-10-16T19:18:44.867'
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
  - url: >-
      https://hackmd.io/@haind03/cve-2026-108722-e2b-open-computer-use-html-log-injection
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
epss: 0.00299
epssPercentile: 0.22426
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-13T19:48:48.470938Z'
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.
