{"cve":"CVE-2026-42086","nvd":{"published":"2026-05-04T18:16:30.667","modified":"2026-10-26T19:10:00.163","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N","score":4.6},"cwes":["CWE-79"],"references":["https://github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x","https://github.com/OpenC3/cosmos/security/advisories/GHSA-ffq5-qpvf-xq7x"],"products":["openc3:cosmos"],"source":"nvd","synced_at":"2026-10-26T19:31:02.781428341+00:00"},"epss":{"cve":"CVE-2026-42086","score":0.002,"percentile":0.09683,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-ffq5-qpvf-xq7x","url":"https://osv.dev/vulnerability/GHSA-ffq5-qpvf-xq7x","summary":"OpenC3 COSMOS is Vulnerable to Self-XSS Through the Command Sender","modified":"2026-05-29T22:00:13.405819944Z","packages":[{"ecosystem":"RubyGems","name":"openc3","purl":"pkg:gem/openc3","ranges":["<7.0.0"],"fixed":["7.0.0"]},{"ecosystem":"PyPI","name":"openc3","purl":"pkg:pypi/openc3","ranges":["<7.0.0"],"fixed":["7.0.0"]}]},{"id":"PYSEC-2026-105","url":"https://osv.dev/vulnerability/PYSEC-2026-105","summary":"","modified":"2026-05-20T09:19:10.269368Z","packages":[{"ecosystem":"PyPI","name":"openc3","purl":"pkg:pypi/openc3","ranges":["<7.0.0"],"fixed":["7.0.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}