Malicious website can execute commands on the local system through XSS in the OpenCode web UI
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| anomalyco | opencode | affected |
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Anomalyco | Opencode | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-c83v-7274-4vgp | Malicious website can execute commands on the local system through XSS in the OpenCode web UI |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.905% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Anoma
Anoma opencode |
|
| CPEs | cpe:2.3:a:anoma:opencode:*:*:*:*:*:-:*:* | |
| Vendors & Products |
Anoma
Anoma opencode |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Anomalyco
Anomalyco opencode |
|
| Vendors & Products |
Anomalyco
Anomalyco opencode |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Malicious website can execute commands on the local system through XSS in the OpenCode web UI | |
| Weaknesses | CWE-79 | |
| References |
| |
| Metrics |
cvssV4_0
|