Intel

AIKIDO-2026-652506

openc3-cosmos-tool-tlmviewer is vulnerable to Cross-Site Scripting (XSS)

Cross-Site Scripting (XSS)CVE-2026-77394 Published 4 days ago

76

High Risk

This Affects:

RUBYopenc3-cosmos-tool-tlmviewer
5.1.0 - 7.2.1
Fixed in 7.3.0
Are you affected? Scan for Free

TL;DR

Telemetry Viewer renders telemetry screens whose BUTTON widgets store an action string as the widget's second parameter, and the ButtonWidget passes that string to eval() in the operator's browser when the button is clicked. Because screens render for every operator who opens them, an authenticated user with screen-editing permission can store JavaScript in a button that later runs in another operator's session. The injected code reads the victim's session token from localStorage.openc3Token, enabling session hijacking and, via Script Runner, server-side code execution. The fix runs button code inside an opaque-origin sandbox iframe with no token, cookie, DOM, or network access and proxies privileged actions back to the parent.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you open telemetry screens whose button widgets may contain actions defined by another, less-trusted user.

Background info

openc3-cosmos-tool-tlmviewer is vulnerable to Cross-Site Scripting (XSS) in versions 5.1.0 - 7.2.1.

How to fix this

Upgrade the openc3-cosmos-tool-tlmviewer library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform