CVE-2021-24640
WordPress vulnerability analysis and mitigation

Overview

CVE-2021-24640 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the WordPress plugin Gutenslider versions below 5.2.0. The vulnerability was discovered by researcher apple502j and was publicly disclosed on August 18, 2021 (WPScan).

Technical details

The vulnerability exists because the plugin fails to properly escape the minWidth attribute of a Gutenburg block. This security flaw has been assigned a CVSS score of 6.8 (medium severity) and is classified under CWE-79. The vulnerability falls under the OWASP Top 10 category A7: Cross-Site Scripting (XSS) (WPScan).

Impact

This vulnerability could allow users with privileges as low as contributor level to perform Cross-Site Scripting attacks on the affected WordPress installations. The XSS payload can be triggered without user interaction when using specific themes like TwentyTwentyOne (WPScan).

Mitigation and workarounds

The vulnerability has been fixed in Gutenslider version 5.2.0. Users are advised to update to this version or later to mitigate the security risk (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-2025-12966HIGH8.8
  • all-in-one-video-gallery
NoYesDec 06, 2025
CVE-2025-13907MEDIUM6.4
  • css3-buttons
NoNoDec 06, 2025
CVE-2025-13899MEDIUM6.4
  • tr-timthumb
NoNoDec 06, 2025
CVE-2025-13898MEDIUM6.4
  • ultra-skype-button
NoNoDec 06, 2025
CVE-2025-13896MEDIUM6.4
  • social-feed-gallery-portfolio
NoNoDec 06, 2025

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