WF Magnific Lightbox <= 0.9.14 - Unauthenticated Stored Cross-Site Scripting via Image Links in Comments
- ID
- WPSEC-2026-4528
- Plugin
- WF Magnific Lightbox (wf-magnific-lightbox)
- Affected
- all versions before 0.9.15
- Remediation
- Update to 0.9.15 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-03
- Attack surface
- WF Magnific Lightbox on WPSec AttackSurface
- Fix released
- Published
Description
The WF Magnific Lightbox plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via image links in all versions up to, and including, 0.9.14. This is due to the lightbox script attaching to every image-like link on the page, including links in visitor comments and reviews, and inserting the raw link URL into its HTML error messages through the bundled Magnific Popup library without escaping. This makes it possible for unauthenticated attackers who can post comments to inject arbitrary web scripts through a crafted link to an image that fails to load, which execute when a user opens the link in the lightbox.
References
- https://wpsec.com/vuln/WPSEC-2026-4528/
- https://plugins.svn.wordpress.org/wf-magnific-lightbox/tags/0.9.15/
- https://wordpress.org/plugins/wf-magnific-lightbox/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS