CVE-2026-96571
High 7.2No known exploitationFix status unknownFancyBox for WordPress <= 3.4.2 - Unauthenticated Stored Cross-Site Scripting via Comment Anchor 'href' Attribute
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 25% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-79
Patching and mitigation
- Patch status
- Unknown: no source documents a fix
- Mitigation
- None documented
- Vendor guidance
- No vendor link on record
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| colorlibplugins | FancyBox for WordPress | all versions up to and including 3.4.2 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by Wordfence
Source: CVE Program (opens in a new tab)
Vendor guidance and references
- https://plugins.trac.wordpress.org/browser/fancybox-for-wordpress/tags/3.4.2/assets/js/jquery.fancybox.js (opens in a new tab)
- https://plugins.trac.wordpress.org/browser/fancybox-for-wordpress/tags/3.4.2/fancybox.php (opens in a new tab)
- https://plugins.trac.wordpress.org/changeset?reponame=&old=3792374%40fancybox-for-wordpress&new=3792374%40fancybox-for-wordpress (opens in a new tab)
- https://www.wordfence.com/threat-intel/vulnerabilities/id/b50c85c9-d8f9-492b-8538-2af80a948741?source=cve (opens in a new tab)