All vulnerabilities

WordPress plugins

CVE-2026-96571

FancyBox for WordPress <= 3.4.2 - Unauthenticated Stored Cross-Site Scripting via Comment Anchor 'href' Attribute

Severity
High 7.2
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
18 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed · No user action needed
Attacker can
Read some data · Change some data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
Fancybox For Wordpress (WordPress plugin)WordPress plugins · wp-plugin:fancybox-for-wordpress
  • Every version up to 3.4.2

About FancyBox for WordPress

Seamlessly integrates FancyBox lightbox into your WordPress blog: Upload, activate, and you're done. Additional configuration optional.

From its WordPress.org page.
Active installations
30,000+WordPress.org, 18 Nov 2026
Latest version
3.4.3WordPress.org, 18 Nov 2026
Last updated
9 Nov 2026WordPress.org
Rating
4.6 out of 5 (92 ratings)WordPress.org, 18 Nov 2026
Requires WordPress
5.6WordPress.org
Requires PHP
7.4WordPress.org
Tested up to WordPress
7.1.4WordPress.org
Author
colorlibpluginsWordPress.org
In the directory since
6 Feb 2009WordPress.org

This is the only vulnerability in FancyBox for WordPress in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-96571