Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPost crafted comment with malicious anchor
-
DeliveryWrap payload around :mrgreen: smilie shortcode
-
ExploitWordPress renders smilie as <img> element
-
ExecutionPlugin enrolls link via a:has(img) selector
-
PersistVictim opens page containing comment
-
ImpactScript 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
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
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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 <img> element, satisfying the plugin's a:has(img) enrollment selector and disguising the malicious link as an ordinary comment emoticon.
Articles & Coverage 1
Executive ViewAI
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.
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
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.
EUVD-2026-128563
GHSA-g348-qpvq-pqgr
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB