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.
Published: 2026-07-24
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Firelight Lightbox plugin is vulnerable to a stored DOM‑level XSS flaw. Unsanitized data from the href attribute in the FancyBox V2 PDF beforeLoad callback is concatenated directly into an HTML string, enabling an authenticated contributor‑level attacker to inject entity‑encoded double quotes that break the attribute context and place arbitrary event handlers in the resulting DOM. When a user clicks the malicious PDF link, the injected script runs in the victim’s browser, allowing the attacker to execute code in that context. This represents a classic DOM‑based XSS vulnerability (CWE‑79).

Affected Systems

All web sites that use the Firelight Lightbox WordPress plugin version 2.3.20 or earlier are affected. Site administrators should verify the currently installed plugin version; any installation of this product at the specified or lower versions falls within the vulnerable range.

Risk and Exploitability

The CVSS score of 6.4 denotes a moderate severity flaw that requires authenticated access at the contributor level or higher. The EPSS score of less than 1% indicates a very low likelihood of exploitation at the time of analysis, and the vulnerability is not listed in the CISA KEV catalog. Exploitation requires an attacker to first obtain sufficient privileges to create or edit PDF links and then craft a malicious href attribute that includes entity‑encoded double quotes. When a victim later clicks such a link, the injected script executes. The practical risk is limited to users who interact with the compromised content, but the flaw can be leveraged for malicious client‑side activity once the XSS is triggered.

Generated by OpenCVE AI on August 4, 2026 at 15:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the latest available patch or upgrade Firelight Lightbox to the newest version that includes fixes for the stored DOM XSS flaw.
  • If an update is not immediately available, disable the PDF beforeLoad callback by removing the related code or configuring the plugin to stop exposing PDF links.
  • For sites that remain on the affected version, manually escape or HTML‑encode any href values used in PDF links to prevent attribute‑context break.

Generated by OpenCVE AI on August 4, 2026 at 15:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 24 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 24 Jul 2026 05:15:00 +0000

Type Values Removed Values Added
First Time appeared Firelightwp
Firelightwp firelight Lightbox
Wordpress
Wordpress wordpress
Vendors & Products Firelightwp
Firelightwp firelight Lightbox
Wordpress
Wordpress wordpress

Fri, 24 Jul 2026 03:45:00 +0000

Type Values Removed Values Added
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.
Title Firelight Lightbox <= 2.3.20 - Authenticated (Contributor+) Stored DOM Cross-Site Scripting via PDF beforeLoad 'href' Attribute
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Firelightwp Firelight Lightbox
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-24T12:22:43.270Z

Reserved: 2026-04-16T20:08:18.705Z

Link: CVE-2026-6454

cve-icon Vulnrichment

Updated: 2026-07-24T12:22:39.408Z

cve-icon NVD

Status : Deferred

Published: 2026-07-24T04:16:52.023

Modified: 2026-07-24T20:45:45.697

Link: CVE-2026-6454

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-04T15:15:04Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')