ghsa-8mx2-rjh8-q3jq
Vulnerability from github
Published
2025-07-31 13:48
Modified
2025-07-31 16:44
Severity ?
VLAI Severity ?
Summary
copyparty Reflected XSS via Filter Parameter
Details
Summary
Unauthorized reflected Cross-Site-Scripting when accessing the URL for recent uploads with the filter
parameter containing JavaScript code.
Details
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.
This 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.
PoC
A URL like this will execute alert(1)
:
https://127.0.0.1:3923/?ru&filter=</script><script>alert(1)</script>
{ "affected": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 1.18.6" }, "package": { "ecosystem": "PyPI", "name": "copyparty" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "1.18.7" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2025-54589" ], "database_specific": { "cwe_ids": [ "CWE-79" ], "github_reviewed": true, "github_reviewed_at": "2025-07-31T13:48:36Z", "nvd_published_at": "2025-07-31T14:15:34Z", "severity": "MODERATE" }, "details": "### 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 `\u003cscript\u003e` 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\u0026filter=\u003c/script\u003e\u003cscript\u003ealert(1)\u003c/script\u003e\n```", "id": "GHSA-8mx2-rjh8-q3jq", "modified": "2025-07-31T16:44:30Z", "published": "2025-07-31T13:48:36Z", "references": [ { "type": "WEB", "url": "https://github.com/9001/copyparty/security/advisories/GHSA-8mx2-rjh8-q3jq" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-54589" }, { "type": "WEB", "url": "https://github.com/9001/copyparty/commit/a8705e611d05eeb22be5d3d7d9ab5c020fe54c62" }, { "type": "PACKAGE", "url": "https://github.com/9001/copyparty" }, { "type": "WEB", "url": "https://github.com/9001/copyparty/releases/tag/v1.18.7" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L", "type": "CVSS_V3" } ], "summary": "copyparty Reflected XSS via Filter Parameter" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…