Description
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.
INFO
Published Date :
2026-01-12T22:52:35.103Z
Last Modified :
2026-01-12T22:52:35.103Z
Source :
GitHub_M
AFFECTED PRODUCTS
The following products are affected by CVE-2026-22813 vulnerability.
| Vendors | Products |
|---|---|
| Anomalyco |
|
REFERENCES
Here, you will find a curated list of external links that provide in-depth information to CVE-2026-22813.
CVSS Vulnerability Scoring System
Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Attack Requirements
Privileges Required
User Interaction
VS Confidentiality
VS Integrity
VS Availability
SS Confidentiality
SS Integrity
SS Availability