CVE-2021-24256
WordPress vulnerability analysis and mitigation

Overview

The vulnerability CVE-2021-24256 affects the 'Elementor – Header, Footer & Blocks Template' WordPress Plugin versions before 1.5.8. This security flaw was discovered and publicly disclosed on April 13, 2021. The vulnerability allows lower-privileged users, such as contributors, to perform stored Cross-Site Scripting (XSS) attacks through two different widgets in the plugin (WPScan).

Technical details

The vulnerability exists in two widgets: the 'Page Title' and 'Site Title' widgets. In the 'Page Title' widget, attackers can exploit the 'heading_tag' parameter by sending a 'save_builder' request with the parameter set to 'script' and injecting JavaScript code in the page title. Additionally, attackers can set the 'heading_tag' to 'script' and manipulate the 'size' parameter to load remote malicious JavaScript files. The 'Site Title' widget is vulnerable to similar exploitation methods. The vulnerability has been assigned a CVSS score of 6.8 (medium severity) (WPScan).

Impact

When successfully exploited, this vulnerability allows attackers with contributor-level access to inject and execute malicious JavaScript code that will be triggered when other users view or preview the affected pages. This can lead to various malicious activities including theft of sensitive information, session hijacking, or manipulation of page content (Wordfence).

Exploitability

The vulnerability can be exploited by users with contributor-level access or higher privileges. The attack vector involves manipulating the 'heading_tag' and 'size' parameters in the affected widgets to inject malicious JavaScript code or load remote malicious scripts (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 1.5.8 of the Elementor – Header, Footer & Blocks Template plugin. Website administrators are strongly advised to update to this version or later to protect against potential attacks (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-78361CRITICAL9.1
  • zipmoney-payments-woocommerce
NoYesSep 10, 2026
CVE-2026-82925HIGH8.1
  • site-reviews
NoYesSep 10, 2026
CVE-2026-77771HIGH7.5
  • miniorange-2-factor-authentication
NoYesSep 10, 2026
CVE-2026-81431HIGH7.2
  • registration-form-for-woocommerce
NoYesSep 10, 2026
CVE-2026-15889MEDIUM6.4
  • aruba-hispeed-cache
NoYesSep 10, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management