{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4702",
 "modified": "2026-12-05T16:41:40Z",
 "published": "2026-12-05T16:41:40Z",
 "summary": "Comments – wpDiscuz <= 7.7.0 - Unauthenticated Stored Cross-Site Scripting via Comment Span Title (Attachment Lightbox)",
 "details": "The wpDiscuz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via span markup in comment content in all versions up to, and including, 7.7.0, due to the comment HTML allow-list accepting the title attribute on span elements and the Media Uploader lightbox binding to every element with the wmu-lightbox class on the page. Colorbox prints the element's title into the lightbox as HTML. This makes it possible for unauthenticated attackers, where guest commenting is allowed, to inject arbitrary web scripts that execute when a user clicks the crafted element. The Media Uploader lightbox must be enabled, which it is by default.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "wpdiscuz"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "7.6.48"
      },
      {
       "fixed": "7.8.0"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 7.6.48 before 7.8.0"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4702/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/wpdiscuz/tags/7.8.0/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/wpdiscuz/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4702/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
