{
 "id": "WPSEC-2026-2800",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2800/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2800/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2800/index.md",
 "title": "FancyBox for WordPress <= 3.4.2 - Authenticated (Contributor+) Stored Cross-Site Scripting via Link data-* Attributes",
 "description": "The FancyBox for WordPress plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the data-* attributes of links opened in the lightbox in all versions up to, and including, 3.4.2. This is due to the bundled FancyBox library merging every data-* and data-options value of the clicked link into its settings, including markup templates such as baseTpl, errorTpl, btnTpl and video.tpl. It also accepts link-supplied sources with unsafe URL schemes and inserts link-supplied HTML, inline and Ajax content without sanitization. This makes it possible for authenticated attackers with contributor-level access and above to inject arbitrary web scripts in pages that will execute whenever a user opens 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": 6.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "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-2800/",
  "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"
 }
}