{
 "id": "WPSEC-2026-4085",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4085/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4085/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4085/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4085.json",
 "title": "Responsive Lightbox & Gallery <= 2.7.11.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via Lightbox Link Attributes",
 "description": "The Responsive Lightbox & Gallery plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the lightbox link rewriting of post, gallery, comment and WooCommerce links in all versions up to, and including, 2.7.11.1. The cause is that anchor tags were rewritten with regular expressions that also matched attribute-like text inside other attribute values, and that text was replaced with quoted attribute markup that ends the enclosing attribute value. This makes it possible for authenticated attackers, with contributor-level access and above, to craft link markup that breaks out of its attribute context and injects arbitrary web scripts that 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": null,
    "from_inclusive": true,
    "to": "2.7.12",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 2.7.12"
  ]
 },
 "introduced_in": null,
 "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-4085/",
  "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"
 }
}