{"id":"CVE-2026-77394","published":"2026-09-23T19:19:15.343","lastModified":"2026-09-23T20:17:15.660","description":"OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. From 5.0.6 until 7.3.0, an authenticated actor with system_set permission can store a shared screen through POST /openc3-api/screen whose BUTTON widget action is evaluated by openc3-cosmos-init/plugins/packages/openc3-vue-common/src/widgets/ButtonWidget.vue in another operator's browser session when the button is activated. The stored script runs in the COSMOS origin and can read localStorage.openc3Token, allowing theft of the victim's bearer token, account takeover, and actions with the victim's privileges. The permissive content security policy contributes to execution but is not the primary root cause. This issue is fixed in version 7.3.0.","cvssScore":7.6,"cvssSeverity":"HIGH","cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N","cwes":["CWE-79"],"vendors":[],"products":[],"references":[{"url":"https://github.com/OpenC3/cosmos/commit/10371f8f410b9ad588f98dfa3befaaacb6587cd3","tags":[]},{"url":"https://github.com/OpenC3/cosmos/pull/3560","tags":[]},{"url":"https://github.com/OpenC3/cosmos/releases/tag/v7.3.0","tags":[]},{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-gvf2-2rh5-mpgf","tags":[]},{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-gvf2-2rh5-mpgf","tags":[]}],"exploitRefs":[{"url":"https://github.com/OpenC3/cosmos/commit/10371f8f410b9ad588f98dfa3befaaacb6587cd3","tags":[]},{"url":"https://github.com/OpenC3/cosmos/pull/3560","tags":[]},{"url":"https://github.com/OpenC3/cosmos/releases/tag/v7.3.0","tags":[]},{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-gvf2-2rh5-mpgf","tags":[]},{"url":"https://github.com/OpenC3/cosmos/security/advisories/GHSA-gvf2-2rh5-mpgf","tags":[]}],"hasPoc":true,"ai":{"summary":"A stored cross-site scripting vulnerability in OpenC3 COSMOS allows authenticated users with system_set permissions to inject malicious scripts into shared screens, which then execute in other users' browser sessions when button widgets are activated. This enables attackers to steal bearer tokens and perform actions as the victim.","exploitability":"Exploitation requires an authenticated user with system_set permission to create a malicious screen with a vulnerable button widget, which then needs to be activated by another user for the script to execute, making it moderately difficult but possible to exploit.","blast_radius":"The vulnerability could affect multiple users in a shared environment where screens are frequently shared and button widgets are commonly used, potentially leading to widespread account takeovers and unauthorized system access.","remediation":"Upgrade to version 7.3.0 or later to address the stored XSS vulnerability in the screen sharing functionality.","detection":"No reliable host or network indicator is derivable from the published description.","tags":["xss","web","authentication","ics"],"model":"garnet-coder","analyzedAt":"2026-10-12T08:54:27.599Z"}}