{
 "id": "WPSEC-2026-2802",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2802/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2802/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2802/index.md",
 "title": "FancyBox for WordPress <= 3.4.2 - Unauthenticated Stored Cross-Site Scripting via Comment Link URLs",
 "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.",
 "plugin": {
  "slug": "fancybox-for-wordpress",
  "name": "FancyBox for WordPress",
  "full_name": "FancyBox for WordPress",
  "wordpress_org": "https://wordpress.org/plugins/fancybox-for-wordpress/",
  "advisories_url": "https://wpsec.com/vuln/plugin/fancybox-for-wordpress/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/fancybox-for-wordpress"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.2,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": "3.1.0",
    "from_inclusive": true,
    "to": "3.4.3",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.1.0 before 3.4.3"
  ]
 },
 "introduced_in": "3.1.0",
 "fixed_in": "3.4.3",
 "remediation": "Update to 3.4.3 or later.",
 "fix_released": "2026-11-09T11:37:50+00:00",
 "published": "2026-11-10T11:47:16+00:00",
 "updated": "2026-11-09T23:36:04.335324+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2802/",
  "https://plugins.svn.wordpress.org/fancybox-for-wordpress/tags/3.4.3/",
  "https://wordpress.org/plugins/fancybox-for-wordpress/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/fancybox-for-wordpress",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Medium",
  "affected_versions": "Medium",
  "as_of": "2026-11-10"
 }
}