SQL Injection in Comments
CVE-2026-19704
The Comments WordPress plugin before 7.6.66 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.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.003 (16.8th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 17th percentile — 16.8% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Comments
Weakness classification (CWE)
References
- wpscan.com/vulnerability/cc9ab6ca-7ad3-44b7-941c-9302ff990e5d/ (technical-description, exploit, vdb-entry)
Frequently asked questions
- What is CVE-2026-19704?
- CVE-2026-19704 is a medium-severity vulnerability in Comments, classified under SQL Injection. CVSS score: 5.3/10. Published 2026-09-02.
- How severe is CVE-2026-19704?
- Medium severity. CVSS v3 base score is 5.3 out of 10.