CVE-2021-24685
WordPress vulnerability analysis and mitigation

Overview

The Flat Preloader WordPress plugin before version 1.5.4 contains a security vulnerability identified as CVE-2021-24685. The vulnerability was discovered and publicly disclosed on September 28, 2021, by researcher apple502j. This security issue affects the plugin's settings functionality, where it fails to implement proper nonce checks during settings updates and lacks adequate sanitization and escaping of input (WPScan Advisory).

Technical details

The vulnerability combines Cross-Site Request Forgery (CSRF) and Stored Cross-Site Scripting (XSS) issues. The CVSS v3.1 base score is 5.4 (Medium) with a vector string of CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N. The vulnerability is tracked under both CWE-79 (Improper Neutralization of Input During Web Page Generation) and CWE-352 (Cross-Site Request Forgery). While the CSRF component was addressed in version 1.5.1, additional sanitization improvements were implemented through versions 1.5.2 to 1.5.4 (NVD, WPScan Advisory).

Impact

The vulnerability allows attackers to manipulate a logged-in administrator into changing plugin settings with malicious Cross-Site Scripting payloads. These payloads can be triggered either in the frontend or backend of the WordPress installation, depending on the specific payload used (WPScan Advisory).

Exploitability

Proof of Concept exploits have been documented, demonstrating two attack scenarios: a frontend payload using 'onload' event handlers and a backend payload utilizing animation-name rotation with 'onanimationstart' events. Both scenarios can successfully execute arbitrary JavaScript code in the context of the affected website (WPScan Advisory).

Mitigation and workarounds

The vulnerability has been fully patched in version 1.5.4 of the Flat Preloader plugin. While the CSRF component was initially addressed in version 1.5.1, additional sanitization improvements were implemented through versions 1.5.2 to 1.5.4. Users are strongly advised to update to version 1.5.4 or later to ensure complete protection (WPScan Advisory).

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-14444HIGH7.5
  • wp-fusion
NoYesSep 07, 2026
CVE-2026-6431HIGH7.2
  • profile-builder
NoYesSep 07, 2026
CVE-2026-12757MEDIUM6.5
  • email-subscribers
NoYesSep 07, 2026
CVE-2026-8279MEDIUM5.3
  • learning-management-system
NoYesSep 07, 2026
CVE-2026-4945MEDIUM5.3
  • otter-blocks
NoYesSep 07, 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