| Title | WordPress Elementor Website Builder <3.1.4 - Cross-Site Scripting |
|---|---|
| Author | dhiyaneshDk |
| Severity | Medium |
| Impact | Successful exploitation of this vulnerability could allow an attacker to execute arbitrary JavaScript code in the context of the victim's browser, leading to potential data theft, session hijacking, or defacement of the affected website. |
| Remediation | Update WordPress Elementor Website Builder to version 3.1.4 or later to mitigate this vulnerability. |
| CVSS Score | 6.1 |
| EPSS Score | 0.09482 |
| CVE ID | CVE-2021-24891 |
| CWE ID | CWE-79 |
| Tags | cve2021 cve wordpress wp-plugin elementor wpscan dom xss passive vuln |
WordPress Elementor Website Builder plugin before 3.1.4 contains a DOM cross-site scripting vulnerability. It does not sanitize or escape user input appended to the DOM via a malicious hash.
GET /wp-content/plugins/elementor/readme.txt HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:135.0) Gecko/20100101 Firefox/135.0
Connection: close
Accept-Encoding: gzip
GET /wp-content/plugins/elementor/assets/js/frontend.min.js HTTP/1.1
Host: www.victim.com
User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/139.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-24891.yaml
🦈 Packet Capture: ⬇️ Download cve-2021-24891.pcap
N/AN/A