CVE Catalog

CVE-2026-42086

MediumCVSS 4.6
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.20%

10th percentile - higher than 10% of all known CVEs

Summary

OpenC3 COSMOS prior to version 7.0.0 uses an unsafe eval() function on array-like command parameters in the Command Sender UI. This allows a user-supplied payload to execute in the browser when sending a command, creating a self-XSS risk. 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.

Risk Assessment

Allows an attacker to read or modify data in the authenticated browser context, including session tokens in local storage. This can lead to session hijacking.

Recommendation

Update OpenC3 COSMOS to version 7.0.0 or later. Additionally, consider implementing Content Security Policy (CSP) and training users on phishing awareness.

Other vulnerabilities in OpenC3 COSMOS

See all
Original NVD description (English source)

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 data from NVD (NIST) · CISA KEV · EPSS