CVE-2026-96571
FancyBox for WordPress <= 3.4.2 - Unauthenticated Stored Cross-Site Scripting via Comment Anchor 'href' Attribute
- Severity
- high CVSS 7.2 (v3.1)
- Affects
- FancyBox for WordPress · colorlibplugins
- Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
- Published
- 18 November 2026 by Wordfence
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.