CVE-2026-42086

MEDIUM

OpenC3 COSMOS: Self-XSS in the Command Sender

Title source: cna
STIX 2.1

Description

OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. Prior to version 7.0.0, the Command Sender UI uses an unsafe eval() function on array-like command parameters, which allows a user-supplied payload to execute in the browser when sending a command. This creates a self-XSS risk because an attacker can trigger their own script execution in the victim’s session, if allowed to influence the array parameter input, for example via phishing. If successful, an attacker may read or modify data in the authenticated browser context, including session tokens in local storage. This issue has been patched in version 7.0.0.

References (1)

Core 1
Core References

Scores

CVSS v3 4.6
EPSS 0.0004
EPSS Percentile 11.3%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (4)
openc3/cosmos 7.0.0 rc1 (3 CPE variants)
openc3/cosmos < 7.0.0
OpenC3/cosmos < 7.0.0
rubygems/openc3 0 - 7.0.0RubyGems
Published May 04, 2026
Tracked Since May 04, 2026