CVE-2025-54423 copyparty has a DOM-Based XSS vulnerability when displaying multimedia metadata

Medium 5.4 Published Updated

An unauthenticated attacker can execute arbitrary JavaScript in a victim's browser via malicious multimedia tags in copyparty file server.

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

What is CVE-2025-54423?

CVE-2025-54423 is a medium-severity cross-site scripting vulnerability in 9001 copyparty, published on 28 Jul 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

copyparty is a portable file server. In versions up to and including versions 1.18.4, an unauthenticated attacker is able to execute arbitrary JavaScript code in a victim's browser due to improper sanitization of multimedia tags in music files, including m3u files. This is fixed in version 1.18.5.

Weakness: CWE-79

Which versions are affected by CVE-2025-54423?

3 open source packages ship an affected version, including copyparty. It affects 1 product.

PackageAffectedFixed in
copyparty PyPIAll versions1.18.5
copyparty PyPIAll versions1.18.5
copyparty PyPIAll versions1.18.5

Products include 9001 Copyparty.

How do I fix CVE-2025-54423?

Upgrade copyparty to 1.18.5 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-2025-54423 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-54423 exists.

Sources

Also known as GHSA-9q4r-x2hj-jmvr, PYSEC-2026-1277.

Is CVE-2025-54423 in your software?

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

Check your SBOMs for free