CVE-2026-42086
Analyzed
Analyzed - Analysis Complete
Self-XSS in OpenC3 COSMOS Command Sender UI
Publication date: 2026-05-04
Last updated on: 2026-05-08
Assigner: GitHub, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| openc3 | cosmos | to 7.0.0 (exc) |
| openc3 | cosmos | 7.0.0 |
| openc3 | cosmos | 7.0.0 |
| openc3 | cosmos | 7.0.0 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |