CVE-2026-96571
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.
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (0.42%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.
Description
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.
- CVSS 3.1
- 7.2 HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- EPSS
- 0.42% probability · 28th percentile
- Public exploits
- None in Exploit-DB
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Source
- security@wordfence.com
EPSS moved from 0.3% on 19 November 2026 to 0.4% on 27 November 2026.
References
- https://plugins.trac.wordpress.org/browser/fancybox-for-wordpress/tags/3.4.2/assets/js/jquery.fancybox.js#L132
- https://plugins.trac.wordpress.org/browser/fancybox-for-wordpress/tags/3.4.2/assets/js/jquery.fancybox.js#L1725
- https://plugins.trac.wordpress.org/browser/fancybox-for-wordpress/tags/3.4.2/fancybox.php#L733
- https://plugins.trac.wordpress.org/browser/fancybox-for-wordpress/tags/3.4.2/fancybox.php#L807
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3792374%40fancybox-for-wordpress&new=3792374%40fancybox-for-wordpress
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b50c85c9-d8f9-492b-8538-2af80a948741?source=cve
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.