{
 "id": "WPSEC-2026-4448",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4448/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4448/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4448/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4448.json",
 "title": "Envira Gallery <= 1.17.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Lightbox Gallery Links",
 "description": "The Envira Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via lightbox gallery links in all versions up to, and including, 1.17.1. This is due to the gallery init script binding the lightbox to every element on the page with the predictable envira-gallery-<id> class, and the lightbox building its gallery group from every link on the page that shares the gallery's rel value. As a result, links the plugin did not create can supply their own href, title and data-envirabox options (such as HTML content) to the lightbox. This makes it possible for authenticated attackers, with contributor-level access and above, to place such links in post content next to an embedded gallery and inject arbitrary web scripts that execute when a user browses the gallery in the lightbox.",
 "plugin": {
  "slug": "envira-gallery-lite",
  "name": "Envira Gallery",
  "full_name": "Envira Gallery – Image Photo Gallery, Albums, Video Gallery, Slideshows & More",
  "wordpress_org": "https://wordpress.org/plugins/envira-gallery-lite/",
  "advisories_url": "https://wpsec.com/vuln/plugin/envira-gallery-lite/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/envira-gallery-lite"
 },
 "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": null,
    "from_inclusive": true,
    "to": "1.17.2",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 1.17.2"
  ]
 },
 "introduced_in": null,
 "fixed_in": "1.17.2",
 "remediation": "Update to 1.17.2 or later.",
 "fix_released": "2026-12-01T15:44:45+00:00",
 "published": "2026-12-03T12:50:55+00:00",
 "updated": "2026-12-03T12:19:29.558069+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4448/",
  "https://plugins.svn.wordpress.org/envira-gallery-lite/tags/1.17.2/",
  "https://wordpress.org/plugins/envira-gallery-lite/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/envira-gallery-lite",
 "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-12-03"
 }
}