{"id":"CVE-2025-54589","published":"2025-07-31T13:48:41Z","modified":"2025-07-31T14:12:45Z","title":"copyparty Reflected XSS via Filter Parameter","vendor":"9001","product":"copyparty","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02375,"percentile":0.84263,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"},{"id":"CWE-80","name":"Improper Neutralization of Script-Related HTML Tags in a Web Page"}],"references":[{"url":"https://github.com/9001/copyparty/security/advisories/GHSA-8mx2-rjh8-q3jq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/9001/copyparty/commit/a8705e611d05eeb22be5d3d7d9ab5c020fe54c62","tags":["x_refsource_MISC"]},{"url":"https://github.com/9001/copyparty/releases/tag/v1.18.7","tags":["x_refsource_MISC"]}],"priority":{"score":26.3,"factors":[{"name":"EPSS percentile","points":16.85},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"exploitSources":{"exploitdb":{"count":1,"earliest":"2025-08-03"},"pocGithub":{"count":1,"skipped":0,"earliest":"2025-07-31","earliestUrl":"https://github.com/byteReaper77/CVE-2025-54589","repos":[{"name":"byteReaper77/CVE-2025-54589","url":"https://github.com/byteReaper77/CVE-2025-54589","stars":2,"created":"2025-07-31"}]},"nuclei":[{"id":"CVE-2025-54589","name":"Copyparty <=1.18.6 - Cross-Site Scripting","severity":"medium","path":"http/cves/2025/CVE-2025-54589.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-54589.yaml"}],"first":{"date":"2025-07-31","source":"PoC-in-GitHub","url":"https://github.com/byteReaper77/CVE-2025-54589"},"provenance":"source"},"vendorSlug":"9001","affectedVersions":[{"vendor":"9001","product":"copyparty","versions":["< 1.18.7"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-07-31T14:11:52.526651Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"copyparty","vulnerableRanges":["<1.18.7"],"patched":["1.18.7"],"from":["GHSA-8mx2-rjh8-q3jq","PYSEC-2026-1276"],"provenance":"source"}],"summary":{"text":"Copyparty, a portable file server, has a reflected cross-site scripting flaw in its recent uploads page (/?ru), where the filter parameter is inserted unescaped into a <script> block. An attacker can exploit it by getting a user to open a crafted link or interact with the page, with no authentication or network access required beyond reaching the server.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:38:47Z"},"euvd":{"id":"EUVD-2025-23272","exploited":false,"provenance":"source"},"exploits":[{"id":52390,"url":"https://www.exploit-db.com/exploits/52390","title":"Copyparty 1.18.6 - Reflected Cross-Site Scripting (XSS)","date":"2025-08-03","verified":false,"provenance":"source"}],"lineage":{"familyId":"fam-9001-copyparty-cve-2025-54589","children":[{"from":"CVE-2025-54589","to":"CVE-2025-54796","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:copyparty","fromFixed":"1.18.7","toFixed":"1.18.9","daysApart":1},{"kind":"same-code","provenance":"machine","files":["copyparty/util.py"],"commits":["https://github.com/9001/copyparty/commit/a8705e611d05eeb22be5d3d7d9ab5c020fe54c62","https://github.com/9001/copyparty/commit/09910ba80784c3980947d92f45db696398c0fd83"],"basis":"shared function","functions":["tx_rups"]}]}],"packageHistory":[{"cve":"CVE-2023-38501","published":"2023-07-25","fixed":"1.8.7","kev":false},{"cve":"CVE-2025-27145","published":"2025-02-25","fixed":"1.16.15","kev":false},{"cve":"CVE-2025-54423","published":"2025-07-28","fixed":"1.18.5","kev":false,"link":{"from":"CVE-2025-54423","to":"CVE-2025-54589","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:copyparty","fromFixed":"1.18.5","toFixed":"1.18.7","daysApart":3}]}},{"cve":"CVE-2025-54589","published":"2025-07-31","fixed":"1.18.7","kev":false},{"cve":"CVE-2025-54796","published":"2025-08-01","fixed":"1.18.9","kev":false},{"cve":"CVE-2025-58753","published":"2025-09-09","fixed":"1.19.8","kev":false},{"cve":"CVE-2026-27948","published":"2026-02-26","fixed":"1.20.9","kev":false}],"package":"PyPI:copyparty"}}