{
 "id": "WPSEC-2026-4706",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4706/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4706/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4706/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4706.json",
 "title": "Comments – wpDiscuz <= 7.7.0 - Authenticated (Contributor+) Insecure Direct Object Reference to Comment Pinning and Closing",
 "description": "The wpDiscuz plugin for WordPress is vulnerable to Insecure Direct Object Reference via the wpdStickComment and wpdCloseThread AJAX actions in all versions up to, and including, 7.7.0, due to the stickComment() and closeThread() functions authorizing the user against the supplied postId without checking that the supplied commentId belongs to that post. This makes it possible for authenticated attackers, with contributor-level access and above, to pin, unpin, close or reopen any top-level comment on other users' posts by passing the ID of a post they authored.",
 "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": "IDOR",
 "cwe": [
  "CWE-639"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 4.3,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "7.8.0",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 7.8.0"
  ]
 },
 "introduced_in": null,
 "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-4706/",
  "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"
 }
}