CVE-2026-42086: OpenC3 COSMOS: Self-XSS in the Command Sender
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.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-42086?
CVE-2026-42086 is classified as a medium severity vulnerability due to its potential for self-XSS attacks.
How do I fix CVE-2026-42086?
To mitigate CVE-2026-42086, update OpenC3 COSMOS to version 7.0.0 or later.
What does CVE-2026-42086 affect?
CVE-2026-42086 affects all versions of OpenC3 COSMOS prior to 7.0.0.
What type of vulnerability is CVE-2026-42086?
CVE-2026-42086 is a self-XSS vulnerability associated with unsafe eval() function usage.
Who is impacted by CVE-2026-42086?
Users of OpenC3 COSMOS prior to version 7.0.0 are at risk from CVE-2026-42086.