# Comments – wpDiscuz <= 7.7.0 - Unauthenticated Insecure Direct Object Reference to Guest Comment Editing

- **ID:** WPSEC-2026-4704
- **Plugin:** Comments – wpDiscuz (`wpdiscuz`), https://wordpress.org/plugins/wpdiscuz/
- **Affected versions:** all versions before 7.8.0
- **Fixed in:** 7.8.0 (Update to 7.8.0 or later.)
- **Severity:** Low 3.7 (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N)
- **Weakness:** CWE-639
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-05)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/wpdiscuz
- **Fix released:** 2026-12-04
- **Published:** 2026-12-05
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4704/

## Description

The wpDiscuz plugin for WordPress is vulnerable to Insecure Direct Object Reference via the wpdEditComment and wpdSaveEditedComment AJAX actions in all versions up to, and including, 7.7.0, due to canUserEditComment() treating a guest as a comment's author when the client-controlled comment_author_email cookie matches the comment's email and the request comes from the comment's IP address. This makes it possible for unauthenticated attackers who know a guest commenter's email address and share their IP address, for example on the same network or carrier NAT, to overwrite that guest's comment during the edit window.

## References

- https://wpsec.com/vuln/WPSEC-2026-4704/
- https://plugins.svn.wordpress.org/wpdiscuz/tags/7.8.0/
- https://wordpress.org/plugins/wpdiscuz/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-4704/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
