{
 "id": "WPSEC-2026-4087",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4087/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4087/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4087/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4087.json",
 "title": "Responsive Lightbox & Gallery <= 2.7.11.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Infinite Scroll Gallery Markup",
 "description": "The Responsive Lightbox & Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via infinite scroll gallery pagination in versions 2.0 up to, and including, 2.7.11.1. The cause is that the frontend script took the address of the next gallery page from pagination markup in the page, and added the loaded gallery items, scripts included, to the page without sanitizing them. 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 accesses an injected page.",
 "plugin": {
  "slug": "responsive-lightbox",
  "name": "Responsive Lightbox & Gallery",
  "full_name": "Responsive Lightbox & Gallery",
  "wordpress_org": "https://wordpress.org/plugins/responsive-lightbox/",
  "advisories_url": "https://wpsec.com/vuln/plugin/responsive-lightbox/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/responsive-lightbox"
 },
 "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": "2.0",
    "from_inclusive": true,
    "to": "2.7.12",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.0 before 2.7.12"
  ]
 },
 "introduced_in": "2.0",
 "fixed_in": "2.7.12",
 "remediation": "Update to 2.7.12 or later.",
 "fix_released": "2026-11-26T10:07:40+00:00",
 "published": "2026-11-27T10:44:45+00:00",
 "updated": "2026-11-26T16:12:23.274686+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4087/",
  "https://plugins.svn.wordpress.org/responsive-lightbox/tags/2.7.12/",
  "https://wordpress.org/plugins/responsive-lightbox/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/responsive-lightbox",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "High",
  "affected_versions": "High",
  "as_of": "2026-11-27"
 }
}