{
 "id": "WPSEC-2026-4390",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4390/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4390/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4390/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4390.json",
 "title": "Photo Gallery, Sliders, Proofing and Themes <= 4.6.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Basic Slideshow 'data-slick' Attribute",
 "description": "The NextGEN Gallery plugin for WordPress is vulnerable to DOM-based Stored Cross-Site Scripting via the basic slideshow script in versions 3.0.9 up to, and including, 4.6.1. This is due to the script initialising the Slick slider on any element with the slideshow classes (and, in later versions, the displayed gallery's ID), including markup that is not part of the gallery. Slick reads its options from that element's data-slick attribute and builds its arrow options as HTML with jQuery. This makes it possible for authenticated attackers, with contributor-level access and above, to place an element with those classes and a crafted data-slick attribute in a post that also shows a basic slideshow and inject arbitrary web scripts that execute whenever a user visits the page.",
 "plugin": {
  "slug": "nextgen-gallery",
  "name": "Photo Gallery, Sliders, Proofing and Themes",
  "full_name": "Photo Gallery, Sliders, Proofing and Themes – NextGEN Gallery",
  "wordpress_org": "https://wordpress.org/plugins/nextgen-gallery/",
  "advisories_url": "https://wpsec.com/vuln/plugin/nextgen-gallery/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/nextgen-gallery"
 },
 "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.0.9",
    "from_inclusive": true,
    "to": "4.6.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 3.0.9 before 4.6.2"
  ]
 },
 "introduced_in": "3.0.9",
 "fixed_in": "4.6.2",
 "remediation": "Update to 4.6.2 or later.",
 "fix_released": "2026-12-01T16:07:38+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:13:59.374048+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4390/",
  "https://plugins.svn.wordpress.org/nextgen-gallery/tags/4.6.2/",
  "https://wordpress.org/plugins/nextgen-gallery/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/nextgen-gallery",
 "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-12-03"
 }
}