CVE-2025-54789 Files is Vulnerable to Reflected Self-XSS through its File Move Functionality

Medium 5.1 Published Updated

Attackers can execute arbitrary JavaScript in user sessions via the File Move functionality in the HumHub Files module.

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
None listed

What is CVE-2025-54789?

CVE-2025-54789 is a medium-severity cross-site scripting vulnerability in humhub cfiles, published on 1 Aug 2025. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Files is a module for managing files inside spaces and user profiles. In versions 0.16.9 and below, the File Move functionality does not contain logic that prevents injection of arbitrary JavaScript, which can lead to Browser JS code execution in the context of the user’s session. This is fixed in version 0.16.10.

Weakness: CWE-80

Which versions are affected by CVE-2025-54789?

It affects 1 product.

Products include Humhub Files.

How do I fix CVE-2025-54789?

No fix has been published for CVE-2025-54789 yet. Limit exposure of the affected software until one is available.

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-2025-54789 being exploited?

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

Sources

Also known as GHSA-cw2v-c62w-5r43.

Is CVE-2025-54789 in your software?

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

Check your SBOMs for free