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
| Link | Resource |
|---|---|
| https://github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x | Exploit Vendor Advisory |
| https://github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x | Exploit Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
08 May 2026, 19:54
| Type | Values Removed | Values Added |
|---|---|---|
| First Time |
Openc3 cosmos
Openc3 |
|
| CPE | cpe:2.3:a:openc3:cosmos:7.0.0:rc2:*:*:open_source:*:*:* cpe:2.3:a:openc3:cosmos:*:*:*:*:open_source:*:*:* cpe:2.3:a:openc3:cosmos:7.0.0:rc1:*:*:open_source:*:*:* cpe:2.3:a:openc3:cosmos:7.0.0:rc3:*:*:open_source:*:*:* |
|
| References | () https://github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x - Exploit, Vendor Advisory |
04 May 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x - |
04 May 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-04 18:16
Updated : 2026-05-08 19:54
NVD link : CVE-2026-42086
Mitre link : CVE-2026-42086
CVE.ORG link : CVE-2026-42086
JSON object : View
Products Affected
openc3
- cosmos
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
