Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAuthenticate to WordPress as contributor
-
DeliveryCraft PDF href with entity-encoded quote-breaking XSS payload
-
ExploitSave malicious post or page
-
InstallVictim browses to published page containing PDF link
-
C2Victim clicks lightbox PDF link
-
ExecuteFancyBox beforeLoad concatenates unsanitized href into DOM
-
ImpactInjected event handler executes in victim browser session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold a WordPress account with contributor-level access or higher (PR:L per CVSS) - unauthenticated users cannot stage this attack. The victim must additionally click the malicious PDF lightbox link for the injected event handler to fire; the CVE description explicitly states click-triggered execution, which conflicts with the provided UI:N CVSS metric - treat as requiring user interaction (UI:R) until Wordfence clarifies. The target site must have the easy-fancybox plugin installed and active in a version at or below 2.3.20, and at least one published page must contain a PDF link processed through the FancyBox V2 code path. Sites that do not use PDF links in FancyBox lightboxes, or that restrict post creation to trusted editors and administrators only, are not realistically exposed. |
| Impact | The provided CVSS 3.1 score of 6.4 (AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N) is primarily elevated by the scope change (S:C), which accounts for injected JavaScript executing in a victim's browser session - a system distinct from the WordPress installation. The low privilege requirement (PR:L - contributor role) means any registered contributor on a multi-author WordPress site can stage the attack. However, one significant discrepancy must be flagged: the provided CVSS vector specifies UI:N (no user interaction), yet the CVE description explicitly states execution occurs only when a victim clicks the malicious PDF link, which maps to UI:R. If UI:R is correct, the adjusted score drops to approximately 5.4. No EPSS data was provided in available intelligence; however, the combination of required contributor authentication and a click-to-trigger condition meaningfully constrains opportunistic mass exploitation. No public exploit code has been identified and CISA KEV does not list this CVE, indicating no confirmed active exploitation at time of analysis. The realistic risk profile is moderate: impactful on multi-author WordPress sites with low-trust contributors, but not a mass-exploitation candidate. |
| Exploit ScenarioDerived | A contributor-level WordPress user crafts a PDF attachment link with an href value containing entity-encoded double-quotes followed by an injected onclick handler payload, then embeds it in a post or page and submits it for publication. When any site visitor subsequently views the published page and clicks the PDF lightbox link, the FancyBox V2 beforeLoad callback concatenates the unsanitized href into the DOM, causing the browser to parse the injected event handler and execute the attacker's JavaScript - enabling session cookie theft, keylogging, or silent redirection to a phishing page. No public proof-of-concept code has been identified, though the vulnerable code path is fully visible in WordPress SVN and the attack technique is well-documented in XSS literature. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Stored DOM Cross-Site Scripting in the Firelight Lightbox WordPress plugin (distributed as 'easy-fancybox') versions through 2.3.20 enables authenticated contributors to permanently embed arbitrary JavaScript into any WordPress page containing a PDF lightbox link. The flaw traces to FancyBox V2's beforeLoad callback in inc/fancybox-2.php, where this.href is concatenated into an HTML string without escaping, allowing entity-encoded double-quotes in a stored href to break out of the surrounding data attribute and attach arbitrary event handlers. CVSS scope-change scoring (S:C) reflects that successful exploitation compromises visiting users' browser sessions rather than the WordPress application itself, though the provided UI:N metric conflicts with the description's click-to-trigger requirement - a discrepancy that bears verification with Wordfence.
RemediationAI
Update the Firelight Lightbox (easy-fancybox) plugin to a version beyond 2.3.20. A fix has been committed to the WordPress.org SVN repository at changeset 3610643 (https://plugins.trac.wordpress.org/changeset?reponame=&old=3610643%40easy-fancybox&new=3610643%40easy-fancybox); however, the exact released plugin version containing this fix is not independently confirmed from available data - verify the current release via the WordPress admin plugin dashboard or the plugin's wordpress.org page before assuming any specific version number is patched. As a compensating control prior to patching, restrict contributor role assignment to fully trusted users on any multi-author site, since the attack requires that authentication level. Disabling the PDF lightbox feature entirely (if unused) eliminates the vulnerable code path with no functional trade-off for sites that do not serve PDF lightboxes. Deploying a Content Security Policy header that disallows inline event handlers will mitigate the impact of successful injection but requires careful tuning to avoid breaking other inline scripts present on the site.
Affected VersionsENISA
Affected Packages
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
The root cause is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) in PHP-generated JavaScript. At inc/fancybox-2.php line 322, the FancyBox V2 PDF beforeLoad callback constructs an HTML string by directly concatenating this.href - the stored href attribute of the PDF anchor element - without applying HTML entity encoding or JavaScript string escaping. When an attacker persists an href containing entity-encoded double-quotes (e.g., "), the browser decodes those entities during HTML parsing before attribute boundary evaluation, causing the decoded double-quote to prematurely close the surrounding data attribute. This allows the attacker to inject additional HTML attributes such as onclick, onmouseover, or other event handlers directly into the rendered DOM. The affected codebase is publicly visible at the WordPress SVN references (inc/fancybox-2.php line 322 and jquery.fancybox.js lines 280 and 1235). Affected product CPE: cpe:2.3:a:firelightwp:firelight_lightbox:*:*:*:*:*:*:*:* covering all versions up to and including 2.3.20.
Know when Firelight Lightbox 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
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N
Contributor-level auth required (PR:L); description states click-triggered execution (UI:R, correcting provided UI:N); injected JS executes in victim browser scope (S:C).
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Firelight Lightbox
View allThe Firelight Lightbox WordPress plugin before 2.3.16 does not sanitise and escape title attributes before outputting th
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Firelight Fireligh
The Firelight Lightbox WordPress plugin before 2.3.15 does not prevent users with post writing capabilities from executi
EUVD-2026-48462
GHSA-ccv6-5mc2-jm5q
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB