{"id":"CVE-2026-42086","published":"2026-05-04T17:15:59Z","modified":"2026-05-04T19:47:16Z","title":"OpenC3 COSMOS: Self-XSS in the Command Sender","vendor":"OpenC3","product":"cosmos","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.6,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00286,"percentile":0.13812,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":2.76},{"name":"CVSS severity","points":3.22}]},"vendorSlug":"openc3","affectedVersions":[{"vendor":"OpenC3","product":"cosmos","versions":["< 7.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-04T19:46:44.788122Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"openc3","vulnerableRanges":["<7.0.0"],"patched":["7.0.0"],"from":["GHSA-ffq5-qpvf-xq7x"],"provenance":"source"},{"ecosystem":"PyPI","package":"openc3","vulnerableRanges":["<7.0.0"],"patched":["7.0.0"],"from":["GHSA-ffq5-qpvf-xq7x","PYSEC-2026-105"],"provenance":"source"}],"summary":{"text":"The Command Sender UI in OpenC3 COSMOS, prior to version 7.0.0, passes user-supplied array-like command parameters to an unsafe eval() call, so a crafted payload runs as script in the browser. An attacker who can influence that array parameter input, for example through a phishing lure, requires network access and a low-privileged authenticated account, and the victim must interact with the crafted input, after which the script can read or modify data in the authenticated session, including session tokens in local storage.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:20:32Z"},"euvd":{"id":"EUVD-2026-27061","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-42084","published":"2026-05-04","fixed":"7.0.0-rc3","kev":false},{"cve":"CVE-2026-42085","published":"2026-05-04","fixed":"7.0.0-rc3","kev":false},{"cve":"CVE-2026-42087","published":"2026-05-04","fixed":"7.0.0-rc3","kev":false,"link":{"from":"CVE-2026-42087","to":"CVE-2026-42086","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:openc3","fromFixed":"7.0.0-rc3","toFixed":"7.0.0","daysApart":0}]}},{"cve":"CVE-2026-42086","published":"2026-05-04","fixed":"7.0.0","kev":false},{"cve":"CVE-2026-77601","published":"2026-09-23","fixed":"7.3.0","kev":false,"link":{"from":"CVE-2026-42086","to":"CVE-2026-77601","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:openc3","fromFixed":"7.0.0","toFixed":"7.3.0","daysApart":142}]}},{"cve":"CVE-2026-77602","published":"2026-09-23","fixed":"7.3.0","kev":false,"link":{"from":"CVE-2026-42086","to":"CVE-2026-77602","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:openc3","fromFixed":"7.0.0","toFixed":"7.3.0","daysApart":142}]}}],"package":"RubyGems:openc3"}}