{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-22813","published":"2026-01-12T23:15:53.523000Z","last_modified":"2026-06-17T10:20:28.463000Z","status":"Analyzed","cvss":{"version":"4.0","score":9.4,"severity":"CRITICAL","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"security-advisories@github.com","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:anoma:opencode:*:*:*:*:*:-:*:*","part":"a","vendor":"anoma","product":"opencode","version_end_excluding":"1.1.10"}],"cpes_truncated":false,"vendors":["anoma"],"products":["anoma/opencode"],"ssvc":{"exploitation":"poc","automatable":"yes","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-c83v-7274-4vgp","ecosystem":"npm","name":"opencode-ai","purl":"pkg:npm/opencode-ai","ranges":[{"introduced":"0","fixed":"1.1.10"}],"versions":[],"versions_truncated":false}],"severity":"critical","priority_score":71,"links":{"html_es":"/es/cve/CVE-2026-22813/","html_en":"/en/cve/CVE-2026-22813/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-22813","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-22813"},"untrusted":{"vendor_name":"Anoma","product_name":"Opencode","desc_en":"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.","affected":[{"untrusted_vendor":"anomalyco","untrusted_product":"opencode","versions":[]}],"references":[{"url":"https://github.com/anomalyco/opencode/security/advisories/GHSA-c83v-7274-4vgp","tags":["Exploit","Vendor Advisory"]}]}}