Modal Window – create popup modal window <= 5.2.1 - Cross-Site Request Forgery to Remote Code Execution

Cross-Site Request Forgery (CSRF)
CVE CVE-2021-25051
CVSS 8.8 (High)
Publicly Published December 5, 2021
Last Updated December 5, 2022
Researcher Krzysztof Zając - CERT PL


The Modal Window WordPress plugin before 5.2.2 within the wow-company admin menu page allows to include() arbitrary file with PHP extension (as well as with data:// or http:// protocols), thus leading to CSRF RCE.



Vulnerability Details for Modal Window – create popup modal window

Software Type Plugin
Software Slug modal-window (view on
Patched? Yes
Remediation Update to version 5.2.2, or a newer patched version
Affected Version
  • < 5.2.2
Patched Version
  • 5.2.2

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.