SCA: security update for opencode-ai (GHSA-c83v-7274-4vgp)

critical Tenable Self-Hosted Container Security Plugin ID 436745

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-22813)

See Also

https://github.com/advisories/GHSA-c83v-7274-4vgp

Plugin Details

Severity: Critical

ID: 436745

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 1/14/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.42

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-22813

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Critical

Base Score: 9.4

Threat Score: 8.6

Threat Vector: CVSS:4.0/E:P

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

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 1/13/2026

Vulnerability Publication Date: 1/12/2026

Reference Information

CVE: CVE-2026-22813

cwe: CWE-79