CVE-2021-25051
WordPress vulnerability analysis and mitigation

Overview

The Modal Window WordPress plugin before version 5.2.2 contains a critical vulnerability identified as CVE-2021-25051. The vulnerability was discovered in the wow-company admin menu page functionality, which allows for arbitrary file inclusion with PHP extension, including support for data:// or http:// protocols. The vulnerability was publicly disclosed on December 5, 2021, and was subsequently fixed in version 5.2.2 (WPScan).

Technical details

The vulnerability is classified as a Remote File Inclusion (RFI) leading to Remote Code Execution (RCE) via Cross-Site Request Forgery (CSRF). It has been assigned a CVSS score of 8.4 (High) and is categorized under OWASP Top 10 A1: Injection and CWE-94. The vulnerability requires PHP's allow_url_include to be set to "On" to be exploitable (WPScan).

Impact

If successfully exploited, this vulnerability could allow an attacker to execute arbitrary code on the affected system through remote file inclusion. The combination of RFI with CSRF makes this vulnerability particularly dangerous as it could potentially be triggered without direct user interaction (WPScan).

Mitigation and workarounds

The recommended mitigation is to upgrade the Modal Window WordPress plugin to version 5.2.2 or later. If immediate upgrading is not possible, administrators should consider disabling the plugin until an update can be applied (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-23550CRITICAL10
  • modular-connector
NoYesJan 14, 2026
CVE-2025-12166HIGH7.5
  • simply-schedule-appointments
NoYesJan 14, 2026
CVE-2026-0813MEDIUM4.4
  • short-link
NoNoJan 14, 2026
CVE-2026-0812MEDIUM4.4
  • linkedin-sc
NoNoJan 14, 2026
CVE-2026-0741MEDIUM4.4
  • electric-studio-download-counter
NoNoJan 14, 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