{"cve":"CVE-2025-27145","nvd":{"published":"2025-02-25T02:15:16.300","modified":"2026-06-17T09:03:05.787","status":"Analyzed","description":"copyparty, a portable file server, has a DOM-based cross-site scripting vulnerability in versions prior to 1.16.15. The vulnerability is considered low-risk. By handing someone a maliciously-named file, and then tricking them into dragging the file into copyparty's Web-UI, an attacker could execute arbitrary javascript with the same privileges as that user. For example, this could give unintended read-access to files owned by that user. The bug is triggered by the drag-drop action itself; it is not necessary to actually initiate the upload. The file must be empty (zero bytes). Note that, as a general-purpose webserver, it is intentionally possible to upload HTML-files with arbitrary javascript in `<script>` tags, which will execute when the file is opened. The difference is that this vulnerability would trigger execution of javascript during the act of uploading, and not when the uploaded file was opened. Version 1.16.15 contains a fix.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-79","CWE-83"],"references":["https://github.com/9001/copyparty/commit/438ea6ccb06f39d7cbb4b6ee7ad44606e21a63dd","https://github.com/9001/copyparty/releases/tag/v1.16.15","https://github.com/9001/copyparty/security/advisories/GHSA-m2jw-cj8v-937r","https://github.com/9001/copyparty/security/advisories/GHSA-m2jw-cj8v-937r"],"products":["9001:copyparty"],"source":"nvd","synced_at":"2026-10-19T21:59:48.811064707+00:00"},"epss":{"cve":"CVE-2025-27145","score":0.00469,"percentile":0.40579,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-m2jw-cj8v-937r","url":"https://osv.dev/vulnerability/GHSA-m2jw-cj8v-937r","summary":"copyparty renders unsanitized filenames as HTML when user uploads empty files","modified":"2026-09-10T03:50:06.242849527Z","packages":[{"ecosystem":"PyPI","name":"copyparty","purl":"pkg:pypi/copyparty","ranges":["<1.16.15"],"fixed":["1.16.15"]}]},{"id":"PYSEC-2026-1278","url":"https://osv.dev/vulnerability/PYSEC-2026-1278","summary":"copyparty renders unsanitized filenames as HTML when user uploads empty files","modified":"2026-07-07T17:47:21.464405284Z","packages":[{"ecosystem":"PyPI","name":"copyparty","purl":"pkg:pypi/copyparty","ranges":["<1.16.15"],"fixed":["1.16.15"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}