Comments – wpDiscuz <= 7.7.0 - Authenticated (Contributor+) Insecure Direct Object Reference to Comment Pinning and Closing

Medium 4.3 CWE-639Fixed in 7.8.0
ID
WPSEC-2026-4706
Plugin
Comments – wpDiscuz (wpdiscuz)
Affected
all versions before 7.8.0
Remediation
Update to 7.8.0 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Weakness
CWE-639
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-12-05
Attack surface
Comments – wpDiscuz on WPSec AttackSurface
Fix released
Published

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS

License: CC BY 4.0