CVE-2021-25051 Modal Window < 5.2.2 - RFI leading to RCE via CSRF
An attacker can achieve remote code execution via CSRF by exploiting arbitrary file inclusion in the Modal Window WordPress plugin.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-25051?
CVE-2021-25051 is a high-severity code injection vulnerability in Unknown Modal Window – create popup modal window, published on 10 Jan 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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.
Weakness: CWE-352
Which versions are affected by CVE-2021-25051?
It affects 1 product.
Products include Wow-Company Modal Window.
How do I fix CVE-2021-25051?
No fix has been published for CVE-2021-25051 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2021-25051 being exploited?
There is no known exploitation of CVE-2021-25051 in the wild and no public exploit code.
Other vulnerabilities in Unknown Modal Window – create popup modal window
- CVE-2024-43346 WordPress Modal Window – create popup modal window plugin <= 6.0.3 - Cross Site Scripting (XSS) vulnerability
- CVE-2025-0897 Modal Window <= 6.1.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via iframeBox Shortcode
- CVE-2024-2457 Cross-site scripting in Modal Window – create popup modal window
- CVE-2023-5161 Modal Window <= 5.3.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode
- CVE-2024-3472 Modal Window < 5.3.10 - Modal Deletion via CSRF
Sources
Also known as GHSA-8g5c-c435-6rx7.