{"url":"http://public2.vulnerablecode.io/api/packages/920017?format=json","purl":"pkg:npm/opencode-ai@0.0.0-dev-202512172125","type":"npm","namespace":"","name":"opencode-ai","version":"0.0.0-dev-202512172125","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"1.1.10","latest_non_vulnerable_version":"1.1.10","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/83717?format=json","vulnerability_id":"VCID-59xz-hkcz-wkb1","summary":"OpenCode is an open source AI coding agent. Prior to 1.0.216, OpenCode automatically starts an unauthenticated HTTP server that allows any local process (or any website via permissive CORS) to execute arbitrary shell commands with the user's privileges. This vulnerability is fixed in 1.0.216.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-22812","reference_id":"","reference_type":"","scores":[{"value":"0.04765","scoring_system":"epss","scoring_elements":"0.89691","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-22812"},{"reference_url":"https://github.com/anomalyco/opencode","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/anomalyco/opencode"},{"reference_url":"https://github.com/anomalyco/opencode/commit/7d2d87fa2c44e32314015980bb4e59a9386e858c","reference_id":"","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/anomalyco/opencode/commit/7d2d87fa2c44e32314015980bb4e59a9386e858c"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22812","reference_id":"CVE-2026-22812","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22812"},{"reference_url":"https://github.com/advisories/GHSA-vxw4-wv6m-9hhh","reference_id":"GHSA-vxw4-wv6m-9hhh","reference_type":"","scores":[{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-vxw4-wv6m-9hhh"},{"reference_url":"https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh","reference_id":"GHSA-vxw4-wv6m-9hhh","reference_type":"","scores":[{"value":"8.8","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"},{"value":"HIGH","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:T/P:M/B:A/M:M/D:R/2026-01-13T14:13:37Z/"}],"url":"https://github.com/anomalyco/opencode/security/advisories/GHSA-vxw4-wv6m-9hhh"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/37636?format=json","purl":"pkg:npm/opencode-ai@1.0.216","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-6371-kaex-gybe"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/opencode-ai@1.0.216"}],"aliases":["CVE-2026-22812","GHSA-vxw4-wv6m-9hhh"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-59xz-hkcz-wkb1"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/83413?format=json","vulnerability_id":"VCID-6371-kaex-gybe","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.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-22813","reference_id":"","reference_type":"","scores":[{"value":"0.00035","scoring_system":"epss","scoring_elements":"0.10847","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-22813"},{"reference_url":"https://github.com/anomalyco/opencode","reference_id":"","reference_type":"","scores":[{"value":"9.4","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/anomalyco/opencode"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22813","reference_id":"CVE-2026-22813","reference_type":"","scores":[{"value":"9.4","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-22813"},{"reference_url":"https://github.com/advisories/GHSA-c83v-7274-4vgp","reference_id":"GHSA-c83v-7274-4vgp","reference_type":"","scores":[{"value":"CRITICAL","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-c83v-7274-4vgp"},{"reference_url":"https://github.com/anomalyco/opencode/security/advisories/GHSA-c83v-7274-4vgp","reference_id":"GHSA-c83v-7274-4vgp","reference_type":"","scores":[{"value":"CRITICAL","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"9.4","scoring_system":"cvssv4","scoring_elements":"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"},{"value":"CRITICAL","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track*","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:Y/T:T/P:M/B:A/M:M/D:R/2026-01-13T14:13:29Z/"}],"url":"https://github.com/anomalyco/opencode/security/advisories/GHSA-c83v-7274-4vgp"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/37639?format=json","purl":"pkg:npm/opencode-ai@1.1.10","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/opencode-ai@1.1.10"}],"aliases":["CVE-2026-22813","GHSA-c83v-7274-4vgp"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-6371-kaex-gybe"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/opencode-ai@0.0.0-dev-202512172125"}