---
id: CVE-2025-28380
aliases:
  - PYSEC-2025-254
title: >-
  A cross-site scripting (XSS) vulnerability in OpenC3 COSMOS before v6.0.2
  allows attackers to execute arbitrary web scripts or HTML via i…
summary: >-
  A cross-site scripting (XSS) vulnerability in OpenC3 COSMOS before v6.0.2
  allows attackers to execute arbitrary web scripts or HTML via injecting a
  crafted payload into the URL parameter.
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N'
vendor: openc3
product: openc3
ecosystem: pip
affected:
  - openc3 <= 6.0.0
published: '2025-06-13'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/PYSEC-2025-254'
references:
  - url: 'https://github.com/OpenC3/cosmos/releases/tag/v6.0.2'
  - url: 'https://openc3.com/'
  - url: >-
      https://github.com/OpenC3/cosmos/commit/12e3e12307afd3dbfc306f20d60400989db89883
  - url: 'https://github.com/OpenC3/cosmos/pull/1816'
  - url: >-
      https://visionspace.com/openc3-cosmos-a-security-assessment-of-an-open-source-mission-framework/
tags:
  - osv
  - pip
epss: 0.00338
epssPercentile: 0.24586
ingestedAt: '2026-07-13T18:58:06.704Z'
---

## Overview

A cross-site scripting (XSS) vulnerability in OpenC3 COSMOS before v6.0.2 allows attackers to execute arbitrary web scripts or HTML via injecting a crafted payload into the URL parameter.

## Affected packages

- `openc3 <= 6.0.0`

## Remediation

Refer to the advisory for the patched release.
