XSS in Openc3 Cosmos
CVE-2026-42086
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.6 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.002 (10.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 10th percentile — 10.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.002 · newest: 0.002 · change: 0.000
Affected products
- Openc3 Cosmos — versions < 7.0.0, 7.0.0
Weakness classification (CWE)
References
- github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2026-42086?
- CVE-2026-42086 is a medium-severity vulnerability in Openc3 Cosmos, classified under Cross-site Scripting. CVSS score: 4.6/10. Published 2026-05-04.
- How severe is CVE-2026-42086?
- Medium severity. CVSS v3 base score is 4.6 out of 10.