CVE-2023-45279 Yamcs Cross-site Scripting vulnerability

Medium 5.4 Published Updated

An attacker can upload a malicious display file to Yamcs buckets, leading to cross-site scripting when the display is viewed by a user.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2023-45279?

CVE-2023-45279 is a medium-severity cross-site scripting vulnerability in n/a, published on 19 Oct 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Yamcs 5.8.6 allows XSS (issue 1 of 2). It comes with a Bucket as its primary storage mechanism. Buckets allow for the upload of any file. There's a way to upload a display referencing a malicious JavaScript file to the bucket. The user can then open the uploaded display by selecting Telemetry from the menu and navigating to the display.

Weakness: CWE-79

Which versions are affected by CVE-2023-45279?

2 open source packages ship an affected version, including org.yamcs:yamcs. It affects 1 product.

PackageAffectedFixed in
org.yamcs:yamcs MavenAll versions5.8.7
org.yamcs:yamcs MavenAll versions5.8.7

Products include Spaceapplications Yamcs.

How do I fix CVE-2023-45279?

Upgrade org.yamcs:yamcs to 5.8.7 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2023-45279 being exploited?

There is no known exploitation of CVE-2023-45279 in the wild and no public exploit code.

Sources

Also known as GHSA-4cqv-q33x-wfxw.

Is CVE-2023-45279 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free