FancyBox for WordPress <= 3.4.2 - Unauthenticated Stored Cross-Site Scripting via Comment Link URLs

High 7.2 CWE-79Fixed in 3.4.3
ID
WPSEC-2026-2802
Plugin
FancyBox for WordPress (fancybox-for-wordpress)
Affected
from 3.1.0 before 3.4.3
Remediation
Update to 3.4.3 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Weakness
CWE-79
Usage
Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-10
Attack surface
FancyBox for WordPress on WPSec AttackSurface
Fix released
Published

Description

The FancyBox for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the URL of links opened in the lightbox in all versions up to, and including, 3.4.2. This is due to the lightbox placing the entity-decoded link URL into the video template without escaping. Any link wrapping an image, including a smiley in a comment, is turned into a lightbox link. This makes it possible for unauthenticated attackers to inject arbitrary web scripts through a crafted link in a comment. The scripts run when a user opens the link in the lightbox.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0