Skip to main content

WP Magnific Popup CVE-2026-7850

| EUVDEUVD-2026-37556 MEDIUM
2026-06-17 WPScan
5.9
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker authenticates as WordPress Author
  2. Delivery
    Craft post embedding malicious javascript: image link URL
  3. Exploit
    Publish page using Magnific Popup block
  4. Install
    Victim navigates to published page
  5. C2
    Plugin injects unsanitized URL into DOM on image error
  6. Execute
    XSS payload executes in victim browser
  7. Impact
    Session cookie theft or malicious redirect

Vulnerability Assessment

Exploitation Conditions

Exploitation requires a valid, authenticated WordPress account with Author-level privileges or higher (Editor or Administrator also satisfy this requirement) on the specific target site - attackers without such an account cannot plant the payload. The vulnerable code path activates specifically when the Magnific Popup plugin's image error handler renders a link URL without output encoding, meaning the plugin must be active and the malicious content must be published in a location that invokes the plugin's lightbox functionality. Victim interaction is mandatory: a site user or visitor must navigate to the page or post containing the injected content, and the image load error condition must be triggered in their browser. Limiting factors beyond the authentication prerequisite include: the requirement that Author-level accounts exist and are accessible to the attacker (insider threat or compromised credentials scenario), the need for victim page visits to materialize impact, and the fact that the plugin itself must be installed and active. Sites that do not use WP Magnific Popup, restrict Author access to a single trusted administrator, or enforce CSP headers blocking inline scripts have substantially reduced exposure.

Impact

The CVSS 3.1 base score of 5.9 (Medium) with vector AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L accurately represents that while the attack surface is network-reachable with low complexity, a significant gate exists: the attacker must hold an active Author-level (or higher) WordPress account on the target site. EPSS at 0.19% (9th percentile) is low and consistent with a plugin of limited prevalence requiring authenticated access - it does not indicate widespread opportunistic scanning. SSVC confirms Automatable: no and Technical Impact: partial, reinforcing that this is not a high-velocity mass-exploitation scenario. No CISA KEV listing exists, so active exploitation in the wild is unconfirmed. Real-world risk is most elevated on multi-tenant WordPress installations (agencies, educational platforms, news sites) where Author accounts are issued to numerous semi-trusted contributors, any of whom could serve as an insider threat vector. Sites where Author access is tightly controlled or where the plugin is not installed face negligible exposure.

Exploit ScenarioDerived

An attacker with an existing Author account on the target WordPress site creates or edits a post using the WP Magnific Popup block, setting the image link URL to a javascript: URI or data: payload containing malicious script. When the post is published and a visitor navigates to it, the image fails or loads in error state, triggering the plugin's unescaped DOM injection of the link URL and silently executing the attacker's script in the visitor's browser. A publicly available POC confirms reproducibility; the attacker's persistent payload continues to execute for all subsequent visitors without requiring further action.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 22, 2026

Stored XSS in WP Magnific Popup WordPress plugin (versions through 1.0) enables authenticated attackers holding Author-level privileges or higher to persistently inject malicious scripts into WordPress pages by supplying unsanitized link URLs that the plugin renders unescaped in image load error messages. Any user visiting an affected page is silently targeted, making session hijacking, credential harvesting, or malicious redirects achievable without further attacker interaction after initial payload placement. A publicly available POC is confirmed by WPScan, though EPSS sits at only 0.19% (9th percentile), reflecting that opportunistic mass exploitation has not materialized despite exploit accessibility.

RemediationAI

No vendor-released patched version is confirmed at time of analysis - all available references, including WPScan (https://wpscan.com/vulnerability/30f408dd-4b9a-438c-8dc4-c6daafe237fe/) and VulDB (https://vuldb.com/vuln/371839), document the flaw through version 1.0 without identifying a successor release. The primary recommended action is to deactivate and remove the WP Magnific Popup plugin until the vendor releases a patched version, substituting it with an actively maintained lightbox alternative such as FooBox or Envira Gallery. As compensating controls, site administrators should audit and restrict Author-level role assignments to only fully trusted individuals, reducing the pool of accounts capable of planting payloads. Implementing a Content Security Policy header that disallows inline script execution (script-src 'self' without 'unsafe-inline') will materially reduce the damage any successfully injected XSS payload can cause, though it may require adjustments for other site functionality. Monitor the WPScan advisory URL for patch availability updates.

Affected VersionsENISA

WP Magnific Popup 0 ≤1.0

Affected Packages

euvd wp_magnific_popup no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

WP Magnific Popup wraps the Magnific Popup jQuery lightbox library as a WordPress plugin, allowing content authors to embed responsive image and media popups via shortcodes or blocks. The vulnerability arises from the plugin failing to apply output encoding or sanitization to user-supplied link URL values before writing them into the DOM during image load error handling - a classic reflected-into-stored XSS pattern where persistent author content becomes the injection vector. The CPE identifier (cpe:2.3:a:unknown:wp_magnific_popup:*:*:*:*:*:*:*:*) covers all known versions through 1.0 with no lower-bound exclusion. Although NVD has not assigned a CWE, the root cause aligns with CWE-79 (Improper Neutralization of Input During Web Page Generation / XSS). The CVSS Scope metric is Changed (S:C), confirming the payload executes in the victim browser's security context rather than the server's, crossing the WordPress application trust boundary into each visitor's session.

Know when Wp Magnific Popup gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.9 MEDIUM
AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:L
vuln.today AI 4.8 MEDIUM

Stored XSS requires Author-level authentication (PR:H), victim page visit (UI:R), and scope change to browser context (S:C); no plausible availability impact from XSS alone warrants A:N.

3.1 AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:H/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
CVE Published
Jun 17, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Jun 17, 2026 - 06:00 cve.org
MEDIUM 5.9

DescriptionCVE.org

The WP Magnific Popup WordPress plugin through 1.0 does not properly escape user-controlled link URLs before injecting them into the DOM when displaying image load error messages, allowing authenticated attackers with Author-level access or above to perform Stored Cross-Site Scripting attacks against any visiting user.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche WordPress plugin, limited adoption and no enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

References

Advisories & patches

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy