WP Magnific Popup Security & Risk Analysis

wordpress.org/plugins/wp-magnific-popup

Plugin to add the Magnific Popup lightbox script to wordpress site for single images, image galleries, video, maps, dialog popups and other.

1K active installs v1.0 PHP + WP 3.0.1+ Updated Oct 31, 2016
iframeimageslightboxmagnific-popuppopup
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is WP Magnific Popup Safe to Use in 2026?

Generally Safe

Score 85/100

WP Magnific Popup has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The security posture of wp-magnific-popup v1.0 appears strong based on the provided static analysis. There are no identified entry points through AJAX, REST API, shortcodes, or cron events, which significantly limits the plugin's attack surface. Furthermore, the absence of dangerous functions, file operations, and external HTTP requests is reassuring. The use of prepared statements for SQL queries is also a positive indicator of secure coding practices in this area. Taint analysis revealing no critical or high severity flows further strengthens this positive assessment.

However, a significant concern arises from the low percentage of properly escaped output. With 16 total outputs and only 6% being properly escaped, there is a high probability of cross-site scripting (XSS) vulnerabilities. This lack of output sanitization is a notable weakness. The absence of nonce and capability checks on any potential entry points (even though none were detected) could become a risk if new functionalities are added without proper security considerations. The vulnerability history being clean is positive, but it doesn't negate the risks identified in the code itself.

In conclusion, while the plugin has a commendably small attack surface and avoids common pitfalls like raw SQL or dangerous functions, the severe lack of output escaping presents a substantial risk that could lead to XSS vulnerabilities. The absence of any detected vulnerabilities in its history is a good sign, but it's crucial to address the output sanitization issue to maintain a secure state.

Key Concerns

  • Low percentage of properly escaped output
  • No nonce checks found
  • No capability checks found
Vulnerabilities
None known

WP Magnific Popup Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 16, 2026

WP Magnific Popup Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
0 prepared
Unescaped Output
15
1 escaped
Nonce Checks
0
Capability Checks
0
File Operations
0
External Requests
0
Bundled Libraries
0

Output Escaping

6% escaped16 total outputs
Attack Surface

WP Magnific Popup Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actionadmin_menuwp_magnific_popup.php:15
actionwp_headwp_magnific_popup.php:16
actionwp_enqueue_scriptswp_magnific_popup.php:17
actionadmin_initwp_magnific_popup.php:18
actionplugins_loadedwp_magnific_popup.php:19
filterplugin_action_linkswp_magnific_popup.php:20
actionadmin_enqueue_scriptswp_magnific_popup.php:26
Maintenance & Trust

WP Magnific Popup Maintenance & Trust

Maintenance Signals

WordPress version tested4.6.30
Last updatedOct 31, 2016
PHP min version
Downloads16K

Community Trust

Rating100/100
Number of ratings4
Active installs1K
Developer Profile

WP Magnific Popup Developer Profile

firimar

1 plugin · 1K total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect WP Magnific Popup

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/wp-magnific-popup/mpopup/jquery.magnific-popup.min.js/wp-content/plugins/wp-magnific-popup/js/wpmp.js/wp-content/plugins/wp-magnific-popup/mpopup/magnific-popup.css/wp-content/plugins/wp-magnific-popup/js/admin.js
Script Paths
wpmp_options

HTML / DOM Fingerprints

CSS Classes
mfp-iframe-holderwpmp_tabsps-form-table
Data Attributes
data-mfp-src
JS Globals
wpmp_options
FAQ

Frequently Asked Questions about WP Magnific Popup