CVE-2026-7850 WP Magnific Popup <= 1.0 - Author+ Stored XSS via href Attribute

Medium 5.9 Published Updated

Authenticated attackers can inject malicious scripts via image error messages, leading to stored XSS against site visitors.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-7850?

CVE-2026-7850 is a medium-severity cross-site scripting vulnerability in Unknown WP Magnific Popup, published on 17 Jun 2026. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.

Official description

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.

Which versions are affected by CVE-2026-7850?

How do I fix CVE-2026-7850?

No fix has been published for CVE-2026-7850 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-7850 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7850 exists.

Sources

Also known as GHSA-v8jq-pwcr-jq4j.

Is CVE-2026-7850 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free