{"id":"CVE-2025-54589","aliases":["CVE-2025-54589","GHSA-8mx2-rjh8-q3jq","PYSEC-2026-1276"],"related":[],"kind":"vulnerability","state":"published","title":"copyparty Reflected XSS via Filter Parameter","summary":"Copyparty is a portable file server. In versions 1.18.6 and below, when accessing the recent uploads page at `/?ru`, users can filter the results using an input field at the top. This field appends a filter parameter to the URL, which reflects its value directly into a `<script>` block without proper escaping, allowing for reflected Cross-Site Scripting (XSS) and can be exploited against both authenticated and unauthenticated users. This is fixed in version 1.18.7.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Copyparty is a portable file server. In versions 1.18.6 and below, when accessing the recent uploads page at `/?ru`, users can filter the results using an input field at the top. This field appends a filter parameter to the URL, which reflects its value directly into a `<script>` block without proper escaping, allowing for reflected Cross-Site Scripting (XSS) and can be exploited against both authenticated and unauthenticated users. This is fixed in version 1.18.7.","source":"cvelist"},{"lang":"en","text":"### Summary\nUnauthorized reflected Cross-Site-Scripting when accessing the URL for recent uploads with the `filter` parameter containing JavaScript code.\n\n### Details\nWhen accessing the recent uploads page at `/?ru`, users can filter the results using an input field at the top. This field appends a filter parameter to the URL, which reflects its value directly into a `<script>` block without proper escaping.\nThis vulnerability allows for reflected Cross-Site Scripting (XSS) and can be exploited against both authenticated and unauthenticated users, enabling unwanted actions in the victims browser.\n\n### PoC\nA URL like this will execute `alert(1)`:\n```\nhttps://127.0.0.1:3923/?ru&filter=</script><script>alert(1)</script>\n```","format":"markdown","source":"ghsa"},{"lang":"es","text":"Copyparty es un servidor de archivos portátil. En las versiones 1.18.6 y anteriores, al acceder a la página de subidas recientes en `/?ru`, los usuarios pueden filtrar los resultados mediante un campo de entrada en la parte superior. Este campo añade un parámetro de filtro a la URL, que refleja su valor directamente en un bloque `","source":"nvd"}],"published":"2025-07-31T13:48:36.000Z","modified":"2026-07-07T17:56:22.982Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","score":6.3,"rating":"MEDIUM"}],"cwes":["CWE-79","CWE-80"],"affected":[{"ranges":[{"version":"< 1.18.7","status":"affected"}],"vendor":"9001","product":"copyparty","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.18.7"}],"ecosystem":"PyPI","package":"copyparty","purl":"pkg:pypi/copyparty","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.18.7"}],"vendor":"9001","product":"copyparty","cpe":"cpe:2.3:a:9001:copyparty:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.18.7"}],"ecosystem":"PyPI","package":"copyparty","purl":"pkg:pypi/copyparty","source":"pysec"}],"references":[{"url":"https://github.com/9001/copyparty/security/advisories/GHSA-8mx2-rjh8-q3jq","tags":["exploit","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/9001/copyparty/commit/a8705e611d05eeb22be5d3d7d9ab5c020fe54c62","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/9001/copyparty/releases/tag/v1.18.7","tags":["release-notes","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54589","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/9001/copyparty","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/copyparty","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-8mx2-rjh8-q3jq","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-07-31T14:11:52.526Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-54589","url":"https://www.cve.org/CVERecord?id=CVE-2025-54589","licence":"CVE Terms of Use","modified":"2025-07-31T14:12:45.463Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8mx2-rjh8-q3jq","url":"https://github.com/advisories/GHSA-8mx2-rjh8-q3jq","licence":"CC-BY-4.0","modified":"2026-07-07T17:56:22.982Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-54589","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-54589","licence":"Public domain","modified":"2026-06-17T09:40:21.250Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1276","url":"https://osv.dev/vulnerability/PYSEC-2026-1276","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:20.909Z"}],"updatedAt":"2026-11-25T22:59:01.938Z","epss":{"score":0.02375,"percentile":0.84321,"date":"2026-12-01T12:00:22.000Z"}}