Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @openc3/vue-common
  4. ›
  5. CVE-2026-77394

CVE-2026-77394: OpenC3 COSMOS: Stored, cross-user XSS via Telemetry screen BUTTON widget

September 23, 2026

A user who can save a telemetry screen (permission system_set) can embed JavaScript in a screen BUTTON widget. The BUTTON widget eval()s the stored button text in the browser when the button is activated, and screens are shared content rendered to other users in the scope. As a result, an attacker’s stored JavaScript executes in a different operator’s authenticated session — a stored, cross-user XSS (not self-XSS). The payload runs in the COSMOS origin and can read localStorage.openc3Token (the victim’s session token), enabling session/account takeover and, via the victim’s privileges, a path to server-side code execution through the Script Runner.

The site’s Content-Security-Policy permits 'unsafe-inline'/'unsafe-eval' (see “Contributing factor”), so the injected script runs unimpeded.

  • Product: OpenC3 COSMOS (Core; likely Enterprise — see scoping note)
  • Affected version: confirmed 7.2.0 (latest, tested 2026-06-25); the code path is present on main. Lower bound for maintainer to confirm.
  • Reporter: Arpit Kubadia

References

  • github.com/OpenC3/cosmos/commit/10371f8f410b9ad588f98dfa3befaaacb6587cd3
  • github.com/OpenC3/cosmos/pull/3560
  • github.com/OpenC3/cosmos/releases/tag/v7.3.0
  • github.com/OpenC3/cosmos/security/advisories/GHSA-gvf2-2rh5-mpgf
  • github.com/advisories/GHSA-gvf2-2rh5-mpgf
  • nvd.nist.gov/vuln/detail/CVE-2026-77394

Code Behaviors & Features

Detect and mitigate CVE-2026-77394 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 5.0.6 before 7.3.0

Fixed versions

  • 7.3.0

Solution

Upgrade to version 7.3.0 or above.

Impact 7.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/@openc3/vue-common/CVE-2026-77394.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Mon, 12 Oct 2026 00:23:05 +0000.