Firelight Lightbox <= 2.3.20 - Authenticated (Contributor+) Stored DOM Cross-Site Scripting via PDF beforeLoad 'href' Attribute

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-6454
CVSS 6.4 (Medium)
Publicly Published July 23, 2026
Last Updated July 24, 2026
Researcher Quốc Huy (jtwings) - Puramu

Description

The Firelight Lightbox plugin for WordPress is vulnerable to Stored DOM Cross-Site Scripting in versions up to and including 2.3.20. This is due to insufficient sanitization of the href attribute value within the FancyBox V2 PDF beforeLoad JavaScript callback generated in inc/fancybox-2.php, where this.href is string-concatenated directly into an HTML string without escaping, allowing a stored href containing entity-encoded double-quotes to break out of the data attribute and inject arbitrary event handlers into the DOM. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary web scripts into pages that execute whenever a user clicks the malicious PDF link.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Firelight Lightbox

Software Type Plugin
Software Slug easy-fancybox (view on wordpress.org)
Patched? Yes
Remediation Update to version 2.3.21, or a newer patched version
Affected Version
  • <= 2.3.20
Patched Version
  • 2.3.21

Recent vulnerabilities in Firelight Lightbox

# Title CVE ID CVSS Researchers Date
1 Firelight Lightbox <= 2.3.16 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-52707 6.4 Prissy June 19, 2025
2 Firelight Lightbox <= 2.3.15 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-5035 6.4 Pierre Rudloff June 6, 2025
3 Firelight Lightbox <= 2.3.14 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-3597 6.4 Pierre Rudloff April 21, 2025
4 Multiple Plugins <= (Various Versions) - Authenticated (Contributor+) Stored DOM-Based Cross-Site Scripting via FancyBox JavaScript Library CVE-2024-5020 6.4 Webbernaut December 3, 2024
5 Firelight Lightbox <= 2.3.3 - Authenticated (Author+) Stored Cross-Site Scripting CVE-2024-50460 6.4 Robert DeVore October 24, 2024
6 Easy Fancybox <= 1.8.17 - Authenticated Stored Cross-Site Scripting CVE-2019-16524 5.5 Jakob Hagl September 25, 2019

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation