CVE-2026-42086 Details
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.
A self-cross-site scripting vulnerability has been identified in OpenC3 COSMOS versions prior to 7.0.0. The issue arises in the Command Sender UI, where an unsafe eval() function is applied to array-like command parameters. This flaw allows a user-supplied payload to execute in the browser when a command is sent. An attacker could exploit this by influencing the array parameter input, potentially through phishing, to execute scripts in the context of the victim's session. Successful exploitation could enable the attacker to read or modify data in the authenticated browser context, including session tokens stored in local storage.
Users are advised to update to OpenC3 COSMOS version 7.0.0 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x | CISA-ADP | ExploitVendor Advisory |
| https://github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| openc3 cosmos | < 7.0.0 7.0.0 rc1 7.0.0 rc2 7.0.0 rc3 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 26, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 8, 2026 | Initial Analysis | [email protected] |
| May 4, 2026 | CVE Modified | CISA-ADP |
| May 4, 2026 | New CVE Received | [email protected] |