Search for vulnerabilities
| Vulnerability ID | VCID-6371-kaex-gybe |
| Aliases |
CVE-2026-22813
GHSA-c83v-7274-4vgp |
| 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. |
| Status | Published |
| Exploitability | None |
| Weighted Severity | None |
| Risk | None |
| Affected and Fixed Packages | Package Details |
| System | Score | Found at |
|---|---|---|
| epss | 0.00035 | https://api.first.org/data/v1/epss?cve=CVE-2026-22813 |
| cvssv3.1_qr | CRITICAL | https://github.com/advisories/GHSA-c83v-7274-4vgp |
| cvssv4 | 9.4 | https://github.com/anomalyco/opencode |
| generic_textual | CRITICAL | https://github.com/anomalyco/opencode |
| cvssv3.1_qr | CRITICAL | https://github.com/anomalyco/opencode/security/advisories/GHSA-c83v-7274-4vgp |
| cvssv4 | 9.4 | https://github.com/anomalyco/opencode/security/advisories/GHSA-c83v-7274-4vgp |
| generic_textual | CRITICAL | https://github.com/anomalyco/opencode/security/advisories/GHSA-c83v-7274-4vgp |
| ssvc | Track* | https://github.com/anomalyco/opencode/security/advisories/GHSA-c83v-7274-4vgp |
| cvssv4 | 9.4 | https://nvd.nist.gov/vuln/detail/CVE-2026-22813 |
| generic_textual | CRITICAL | https://nvd.nist.gov/vuln/detail/CVE-2026-22813 |
| Reference id | Reference type | URL |
|---|---|---|
| https://api.first.org/data/v1/epss?cve=CVE-2026-22813 | ||
| https://github.com/anomalyco/opencode | ||
| CVE-2026-22813 | https://nvd.nist.gov/vuln/detail/CVE-2026-22813 | |
| GHSA-c83v-7274-4vgp | https://github.com/advisories/GHSA-c83v-7274-4vgp | |
| GHSA-c83v-7274-4vgp | https://github.com/anomalyco/opencode/security/advisories/GHSA-c83v-7274-4vgp |
| Attack Vector (AV) | Attack Complexity (AC) | Attack Requirements (AT) | Privileges Required (PR) | User Interaction (UI) | Vulnerable System Impact Confidentiality (VC) | Vulnerable System Impact Integrity (VI) | Vulnerable System Impact Availability (VA) | Subsequent System Impact Confidentiality (SC) | Subsequent System Impact Integrity (SI) | Subsequent System Impact Availability (SA) |
|---|---|---|---|---|---|---|---|---|---|---|
network adjacent local physical |
low high |
none present |
none low high |
none passive active |
high low none |
high low none |
high low none |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Attack Requirements (AT) | Privileges Required (PR) | User Interaction (UI) | Vulnerable System Impact Confidentiality (VC) | Vulnerable System Impact Integrity (VI) | Vulnerable System Impact Availability (VA) | Subsequent System Impact Confidentiality (SC) | Subsequent System Impact Integrity (SI) | Subsequent System Impact Availability (SA) |
|---|---|---|---|---|---|---|---|---|---|---|
network adjacent local physical |
low high |
none present |
none low high |
none passive active |
high low none |
high low none |
high low none |
high low none |
high low none |
high low none |
| Attack Vector (AV) | Attack Complexity (AC) | Attack Requirements (AT) | Privileges Required (PR) | User Interaction (UI) | Vulnerable System Impact Confidentiality (VC) | Vulnerable System Impact Integrity (VI) | Vulnerable System Impact Availability (VA) | Subsequent System Impact Confidentiality (SC) | Subsequent System Impact Integrity (SI) | Subsequent System Impact Availability (SA) |
|---|---|---|---|---|---|---|---|---|---|---|
network adjacent local physical |
low high |
none present |
none low high |
none passive active |
high low none |
high low none |
high low none |
high low none |
high low none |
high low none |
| Percentile | 0.10847 |
| EPSS Score | 0.00035 |
| Published At | June 11, 2026, 12:55 p.m. |
| Date | Actor | Action | Source | VulnerableCode Version |
|---|---|---|---|---|
| 2026-06-11T16:52:49.243733+00:00 | Vulnrichment | Import | https://github.com/cisagov/vulnrichment/blob/develop/2026/22xxx/CVE-2026-22813.json | 38.6.0 |