Skip to main content

FancyBox for WordPress EUVDEUVD-2026-128563

| CVE-2026-96571 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-18 Wordfence GHSA-g348-qpvq-pqgr
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Post crafted comment with malicious anchor
  2. Delivery
    Wrap payload around :mrgreen: smilie shortcode
  3. Exploit
    WordPress renders smilie as <img> element
  4. Execution
    Plugin enrolls link via a:has(img) selector
  5. Persist
    Victim opens page containing comment
  6. Impact
    Script executes in visitor browser context

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 target site to run FancyBox for WordPress (≤3.4.2) AND to accept comments (the injection vector is the comment anchor 'href' attribute). The attacker must specifically wrap the payload anchor around a WordPress smilie shortcode such as :mrgreen:, because WordPress renders that smilie as an <img>, which is what satisfies the plugin's a:has(img) enrollment selector and causes the crafted link to be processed - a payload without the embedded smilie/img will not be enrolled. Execution additionally requires a subsequent victim to view the page holding the stored comment (inherent to stored XSS). Limiting factors: comments must be enabled and the malicious comment must survive moderation/display; impact is confined to script execution in a visitor's browser context (C:L/I:L, no availability or server-side impact). No authentication is required (PR:N).

Impact

This is a stored (persistent) Cross-Site Scripting flaw (CWE-79) carrying a vendor/NVD CVSS 3.1 base of 7.2 with vector AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N - the scope change (S:C) and the resulting High-range score reflect that injected script executes in the browser security context of any visitor, i.e. a different authority than the vulnerable plugin. The PR:N metric confirms unauthenticated injection: the payload is delivered through the comment channel. Weighing the signals: no EPSS probability was supplied in the input and the CVE is not listed in CISA KEV, so there is no confirmation of active or widespread exploitation; the references are the Wordfence advisory, WordPress plugin source lines, and the fix changeset - code pointers, not a working exploit. The vuln.today Decision label is 'this_week', consistent with a serious-but-not-emergency stored XSS rather than an act_now/emergency item. The most important nuance, which tempers the raw 7.2: exploitation is not a trivial payload-in-any-field case - the attacker must wrap the malicious anchor around a WordPress smilie shortcode (e.g. :mrgreen:) so that WordPress renders an <img>, satisfying the plugin's a:has(img) enrollment selector. That is a specific, product-particular trigger condition, and the impact is limited (C:L/I:L/A:N) - script execution in a visitor's session rather than server compromise. Net: a genuine, patch-worthy priority for sites running this plugin and accepting comments, but there is no evidence to treat it as an actively-exploited emergency. EPSS and any PoC-working status are missing from the input and should be verified before final triage.

Exploit ScenarioDerived

An unauthenticated attacker submits a blog comment on a site running FancyBox for WordPress (≤3.4.2), crafting an anchor whose malicious href wraps a smilie shortcode such as :mrgreen: so WordPress converts it to an <img>, which makes the plugin treat the link as a FancyBox-enrolled element (a:has(img)) and disguises it as an ordinary emoticon. When any visitor later opens the page containing the comment, the plugin processes the crafted href and the attacker's script runs in that visitor's browser. No public working exploit is identified in the provided data, though the vulnerable source lines and fix changeset are referenced.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 18, 2026

Stored cross-site scripting in FancyBox for WordPress up to and including 3.4.2 allows unauthenticated commenters to inject arbitrary web script that runs when a visitor views the affected page. The crafted comment link must wrap a WordPress smilie shortcode such as :mrgreen: so the rendered <img> satisfies the plugin’s a:has(img) enrollment selector; exposure therefore requires a site running the vulnerable plugin and accepting comments. The vendor/NVD CVSS 3.1 score is 7.2 (S:C, C:L/I:L/A:N), no public exploit identified at time of analysis, and the issue is not listed in CISA KEV.

RemediationAI

Update FancyBox for WordPress beyond 3.4.2 to a release that contains the referenced plugin changeset (https://plugins.trac.wordpress.org/changeset?reponame=&old=3792374%40fancybox-for-wordpress&new=3792374%40fancybox-for-wordpress); the provided data does not confirm the exact patched release number, so verify the fixed version in the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/b50c85c9-d8f9-492b-8538-2af80a948741?source=cve). Upstream fix available (changeset); released patched version not independently confirmed. If an immediate upgrade is not possible, remove or disable the plugin on sites that cannot be patched, or disable WordPress comments to remove the comment-anchor injection vector; disabling comments changes site functionality and leaves any other vulnerable plugin paths unaddressed.

Affected VersionsENISA

FancyBox for WordPress 0 ≤3.4.2

Affected Packages

euvd fancybox_for_wordpress no fix

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

CVE-2026-96571 is a CWE-79 stored cross-site scripting flaw in the colorlibplugins:fancybox_for_wordpress plugin. The comment anchor href attribute is insufficiently sanitized on input and insufficiently escaped on output, allowing a stored comment to carry a link that injects arbitrary web script. The plugin’s a:has(img) enrollment selector only processes anchors that contain an image; WordPress renders smilie shortcodes such as :mrgreen: as <img> elements, so wrapping the payload anchor around a smilie is required to enroll the malicious link and disguise it as an ordinary comment emoticon. Relevant code paths cited by the advisory are fancybox.php lines 733 and 807 and assets/js/jquery.fancybox.js lines 132 and 1725 in the 3.4.2 tag. The CVSS vector AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N indicates remote, unauthenticated exploitation; the scope change reflects script execution in a visitor’s browser context, with limited confidentiality and integrity impact and no availability impact.

Know when Fancybox For Wordpress 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

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 7.2 HIGH

Unauthenticated comment injection (PR:N, AV:N); the smilie-shortcode trigger is deterministic and attacker-controlled so AC:L; script runs cross-context (S:C) with limited C:L/I:L and no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

The FancyBox for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Comment Anchor 'href' Attribute in all versions up to, and including, 3.4.2 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires the attacker to wrap the payload anchor around a smilie shortcode (e.g., :mrgreen:), which WordPress renders as an &lt;img&gt; element, satisfying the plugin's a:has(img) enrollment selector and disguising the malicious link as an ordinary comment emoticon.

Executive ViewAI

Why It Matters

A high-severity stored cross-site scripting vulnerability (CVE-2026-96571) in the FancyBox for WordPress plugin (versions up to 3.4.2) enables unauthenticated attackers to inject malicious scripts via comments, which execute when any visitor views the affected page. This puts website visitors at risk of session hijacking, data theft, or malware infection, potentially damaging the organization's brand and leading to regulatory consequences.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations include disabling the FancyBox plugin, restricting comment submissions, deploying WAF rules to filter malicious patterns, and conducting regular security monitoring.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
popular WordPress lightbox plugin, common but not on every site
Data Quality
3 sources
Confidence: Low

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy