Comments – wpDiscuz <= 7.4.2 - Insecure Direct Object References
Strategic Overview
- Status
- Patched in 7.5
- Affected Plugin
- Comments – wpDiscuz
- Affected Version
<= 7.4.2- CVSS
- 5.4Medium
- Weakness type
- CWE-639 · Authorization Bypass Through User-Controlled Key
- CVE
CVE-2022-43492
At a glance
CVE-2022-43492 is a medium-severity Authorization Bypass Through User-Controlled Key vulnerability in the Comments WordPress plugin, affecting versions <= 7.4.2. It carries a CVSS score of 5.4 (reachable over the network; low attack complexity). The issue is fixed in version 7.5; sites on affected versions should update now. Disclosed October 2022, reported by Dhakal Ananda.
Vulnerability Overview
The Comments – wpDiscuz plugin for WordPress is vulnerable to insecure direct object reference in versions up to, and including, 7.4.2. This is due to insufficient validation on the 'wmu_attachments' user-controlled key. This makes it possible for authenticated attackers with subscriber-level capabilities and above to inject attachments that do not belong to them into post comments.
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no interaction from a victim user.
CWE-639: Authorization Bypass Through User-Controlled Key
Comments <= 7.4.2 carries this weakness at wmu_attachments, and reaching it takes a caller who can reach the endpoint. Authorization bypass through a user-controlled key, often called insecure direct object reference, means the application looks up a record by an identifier from the request without checking that the caller owns it.
Changing a number in the request is enough to read or modify other users' records, which on commerce and membership sites means customer data. For Comments the fix is 7.5: builds <= 7.4.2 are affected, anything from 7.5 onward is not.
Remediation
Update to version 7.5, or a newer patched version
How does WordSec protect against this?
Because it turns on account access, WordSec's login security is the relevant layer: role-based two-factor, captcha and brute-force limits raise the cost of getting the account this needs. None of that substitutes for the fix: Comments 7.5 closes this, and updating the plugin is the step that ends it.
- Login Security
- Alerts
External References
Related records
Same weakness class
- 8.1CVE-2025-13820: Comments – wpDiscuz Authentication Bypass
CVE-2025-13820 - 5.3CVE-2025-68997: wpDiscuz <= 7.6.42 Insecure Direct Object Reference
CVE-2025-68997 - 5.3CVE-2023-3998: wpDiscuz <= 7.6.3 IDOR to Post Rating Increase/Decrease
CVE-2023-3998 - 5.3CVE-2023-3869: wpDiscuz IDOR to Comment Rating Increase/Decrease
CVE-2023-3869
Other vulnerabilities in Comments – wpDiscuz
- 9.8CVE-2024-9488: Comments – wpDiscuz <= 7.6.24 Authentication Bypass
CVE-2024-9488 - 9.8CVE-2020-24186: Comments - wpDiscuz 7.0 - 7.0.4 Arbitrary File Upload
CVE-2020-24186 - 9.8CVE-2020-13640: Comments - wpDiscuz <= 5.3.5 Blind SQL Injection
CVE-2020-13640 - 8.8wpDiscuz <= 7.6.5 SQL Injection
- 7.5CVE-2026-19704: Comments – wpDiscuz < 7.6.66 SQL Injection
CVE-2026-19704 - 7.2CVE-2026-9148: Comments <= 7.6.56 Stored Cross-Site Scripting
CVE-2026-9148 - 7.2CVE-2023-47185: wpDiscuz <= 7.6.11 Stored Cross-Site Scripting
CVE-2023-47185 - 6.4CVE-2024-35681: Comments – wpDiscuz <= 7.6.18 Stored XSS
CVE-2024-35681
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C