{
 "id": "WPSEC-2026-4705",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4705/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4705/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4705/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4705.json",
 "title": "Comments – wpDiscuz <= 7.7.0 - Authenticated (Subscriber+) Stored Cross-Site Scripting via Display Name in User Mentions",
 "description": "The wpDiscuz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the user display name in @mentions in all versions up to, and including, 7.7.0, due to insufficient output escaping in the userMentioning() function. It inserts the mentioned user's display name and profile URL without escaping and replaces mentions anywhere in the comment HTML, including inside attribute values such as a link's href. This makes it possible for authenticated attackers, with subscriber-level access and above, to set a display name containing an attribute-breaking payload and mention themselves in a comment link. The injected web scripts then run for moderators and visitors viewing the comment. User mentioning is enabled by default.",
 "plugin": {
  "slug": "wpdiscuz",
  "name": "Comments – wpDiscuz",
  "full_name": "Comments – wpDiscuz",
  "wordpress_org": "https://wordpress.org/plugins/wpdiscuz/",
  "advisories_url": "https://wpsec.com/vuln/plugin/wpdiscuz/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/wpdiscuz"
 },
 "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": "7.0.0",
    "from_inclusive": true,
    "to": "7.8.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 7.0.0 before 7.8.0"
  ]
 },
 "introduced_in": "7.0.0",
 "fixed_in": "7.8.0",
 "remediation": "Update to 7.8.0 or later.",
 "fix_released": "2026-12-04T15:55:51+00:00",
 "published": "2026-12-05T16:41:40+00:00",
 "updated": "2026-12-05T10:46:44.792060+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4705/",
  "https://plugins.svn.wordpress.org/wpdiscuz/tags/7.8.0/",
  "https://wordpress.org/plugins/wpdiscuz/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/wpdiscuz",
 "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-05"
 }
}