🔙 목록으로 돌아가기

CVE-2021-24891: WordPress Elementor Website Builder <3.1.4 - Cross-Site Scripting

TitleWordPress Elementor Website Builder <3.1.4 - Cross-Site Scripting
AuthordhiyaneshDk
SeverityMedium
ImpactSuccessful 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.
RemediationUpdate WordPress Elementor Website Builder to version 3.1.4 or later to mitigate this vulnerability.
CVSS Score6.1
EPSS Score0.09482
CVE IDCVE-2021-24891
CWE IDCWE-79
Tags cve2021 cve wordpress wp-plugin elementor wpscan dom xss passive vuln

🔍 Vulnerability Description

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.

🌐 HTTP Request

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

📚 References


🔗 Nuclei Template: https://github.com/packetinside/nuclei-templates/blob/main/http/cves/2021/CVE-2021-24891.yaml

🦈 Packet Capture: ⬇️ Download cve-2021-24891.pcap

⚠️ Notice: These rules are for detection purposes. Please tune them before applying to a production environment.
Snort 2 Rule
N/A
Snort 3 Rule
N/A