Read the docs
TI-2026-18329 Aliases CVE-2026-22813GHSA-c83v-7274-4vgp

Malicious website can execute commands on the local system through XSS in the OpenCode web UI

Priority HIGH 82CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

OpenCode is an open source AI coding agent. The markdown renderer used for LLM responses will insert arbitrary HTML into the DOM. There is no sanitization with DOMPurify or even a CSP on the web interface to prevent JavaScript execution via HTML injection. This means controlling the LLM response for a chat session gets JavaScript execution on the http://localhost:4096 origin. This vulnerability is fixed in 1.1.10.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00905 60th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed opencode (anomalyco): 1.1.10opencode-ai (npm): 1.1.10

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
anomalycoopencodebefore 1.1.101.1.10Patch availableCNA
—opencode-ai (npm)before 1.1.101.1.10Patch availableGHSA-c83v-7274-4vgp
  • opencode Vendoranomalyco Affected before 1.1.10 Fixed in 1.1.10 Patch available CNA
  • opencode-ai (npm) Vendor— Affected before 1.1.10 Fixed in 1.1.10 Patch available GHSA-c83v-7274-4vgp

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:anoma:opencode:*:*:*:*:*:-:*:*before 1.1.10VulnerableAnoma
  • cpe:2.3:a:anoma:opencode:*:*:*:*:*:-:*:* Versions before 1.1.10 Vulnerable ·Anoma

Remediation

  • Fix · CNA opencode (anomalyco) Fixed in 1.1.10
  • Fix · GHSA-c83v-7274-4vgp opencode-ai (npm) Fixed in 1.1.10 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-22813
  2. 2026-10-03 Alias added: GHSA-c83v-7274-4vgp

References

  • TI-2026-82374 OS command injection in open via PowerShell on Windows CVSS 4.0HIGH 7.7

Sources