# CVE-2026-96571: FancyBox for WordPress <= 3.4.2 - Unauthenticated Stored Cross-Site Scripting via Comment Anchor 'href' Attribute

- Severity: High 7.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-11-18T11:30:43.515Z
- Modified: 2026-11-18T19:18:11.587Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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 &lt;img&gt; element, satisfying the plugin's a:has(img) enrollment selector and disguising the malicious link as an ordinary comment emoticon.

(As written by CVE List.)

## Affected

- colorlibplugins FancyBox for WordPress: up to 3.4.2

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/b50c85c9-d8f9-492b-8538-2af80a948741?source=cve>
- <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/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/changeset?reponame=&old=3792374%40fancybox-for-wordpress&new=3792374%40fancybox-for-wordpress>

## Sources

- CVE List: [CVE-2026-96571](https://www.cve.org/CVERecord?id=CVE-2026-96571), CVE Terms of Use, modified 2026-11-18
- NVD: [CVE-2026-96571](https://nvd.nist.gov/vuln/detail/CVE-2026-96571), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-96571 · Whole record: https://cve.day/CVE-2026-96571.json · Rebuilt by cve.day 2026-11-25T22:59:51.817Z
