WordPress Plugin Vulnerabilities

Comments – wpDiscuz < 7.6.66 - Unauthenticated Comment Disclosure via SQLi

Description

The plugin does not validate a value used to build a database query, allowing unauthenticated users to inject SQL and read comments they are not entitled to see, including comments awaiting moderation, comments marked as spam or trashed, and comments on private and draft posts.

The injected text reaches the query as grammar rather than as data and does not yield extraction of arbitrary data, so the confidentiality impact is the disclosed comment content rather than the database at large.

Proof of Concept

Affects Plugins

Fixed in 7.6.66

References

Classification

Type
SQLI
OWASP top 10
CWE

Miscellaneous

Original Researcher
Jakub Herman
Submitter
Jakub Herman
Submitter website
Verified
Yes

Timeline

Publicly Published
2026-08-31 (about 2 days ago)
Added
2026-08-31 (about 1 day ago)
Last Updated
2026-08-31 (about 1 day ago)

Other