XSS in Colorlibplugins Fancybox For WordPress
CVE-2026-96571
- CVSS v3
- 7.2 High
- Public exploits
- None known
- EPSS
- 0.003 · 24.9th percentile
- Published
- 2026-11-18
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 24.9th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- www.wordfence.com/threat-intel/vulnerabilities/id/b50c85c9-d8f9-492b-8538-2af80…
- plugins.trac.wordpress.org/browser/fancybox-for-wordpress/tags/3.4.2/fancybox.p…
- plugins.trac.wordpress.org/browser/fancybox-for-wordpress/tags/3.4.2/fancybox.p…
- plugins.trac.wordpress.org/browser/fancybox-for-wordpress/tags/3.4.2/assets/js/…
- plugins.trac.wordpress.org/browser/fancybox-for-wordpress/tags/3.4.2/assets/js/…
- plugins.trac.wordpress.org/changeset