GHSA-m8fw-534v-xm85 Cross-Site Scripting (XSS) in cloudcmd

Not scored Published

An attacker can execute arbitrary scripts in the victim's browser by controlling file names in cloudcmd directory listings.

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 GHSA-m8fw-534v-xm85?

GHSA-m8fw-534v-xm85 is a cross-site scripting vulnerability in cloudcmd, published on 4 Jun 2019. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Versions of cloudcmd before 9.1.6 are vulnerable to cross-site scripting (XSS) when listing files in a directory. The attacker must control the name of a file for this vulnerability to be exploitable.

Recommendation

Update to version 9.1.6 or later.

Which versions are affected by GHSA-m8fw-534v-xm85?

2 open source packages ship an affected version, including cloudcmd.

PackageAffectedFixed in
cloudcmd npmAll versions9.1.6
cloudcmd npmAll versions9.1.6

How do I fix GHSA-m8fw-534v-xm85?

Upgrade cloudcmd to 9.1.6 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 GHSA-m8fw-534v-xm85 being exploited?

There is no known exploitation of GHSA-m8fw-534v-xm85 in the wild and no public exploit code.

Sources

Is GHSA-m8fw-534v-xm85 in your software?

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

Check your SBOMs for free