{
 "id": "WPSEC-2026-2344",
 "url": "https://wpsec.com/vuln/WPSEC-2026-2344/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-2344/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-2344/index.md",
 "title": "Photo Gallery – Responsive Image Galleries by Supsystic <= 1.21.6 - Authenticated (Administrator+) Stored Cross-Site Scripting via Social Sharing HTML Gallery Setting",
 "description": "The Photo Gallery by Supsystic plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the socialSharing.html gallery setting in all versions up to, and including, 1.21.6 due to insufficient input sanitization on save and missing output escaping in the gallery shortcode template. This makes it possible for authenticated attackers with administrator-level permissions and above to inject arbitrary web scripts in pages that will execute whenever a user accesses a page containing the gallery. This only affects multi-site installations and installations where unfiltered_html has been disabled.",
 "plugin": {
  "slug": "gallery-by-supsystic",
  "name": "Photo Gallery – Responsive Image Galleries by Supsystic",
  "full_name": "Photo Gallery by Supsystic – Image Gallery, Masonry, Albums & Lightbox",
  "wordpress_org": "https://wordpress.org/plugins/gallery-by-supsystic/",
  "advisories_url": "https://wpsec.com/vuln/plugin/gallery-by-supsystic/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/gallery-by-supsystic"
 },
 "type": "XSS",
 "cwe": [
  "CWE-79"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.4,
  "vector": "CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "1.21.7",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.21.7"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.21.7",
 "remediation": "Update to 1.21.7 or later.",
 "fix_released": "2026-10-30T15:51:43+00:00",
 "published": "2026-11-03T14:48:33+00:00",
 "updated": "2026-11-03T13:39:34.656368+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-2344/",
  "https://plugins.svn.wordpress.org/gallery-by-supsystic/tags/1.21.7/",
  "https://wordpress.org/plugins/gallery-by-supsystic/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/gallery-by-supsystic",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-03"
 }
}