CVE-2024-6704: The Comments – wpDiscuz plugin for WordPress is vulnerable to HTML Injection in all versions up to, and includ
CVE-2024-6704 is a medium-severity flaw (CVSS 5.3) affecting wpdiscuz. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
The Comments – wpDiscuz plugin for WordPress is vulnerable to HTML Injection in all versions up to, and including, 7.6.21. This is due to a lack of filtering of HTML tags in comments. This makes it possible for unauthenticated attackers to add HTML such as hyperlinks to comments when rich editing is disabled.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.6% (top 52%) |
| CISA exploited list | No |
| Weakness | CWE-79 |
| Published | 2024-08-02 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-6704?
wpdiscuz: upgrade to 7.6.22. Exact commands for each OS are on this page.
Is CVE-2024-6704 being exploited?
CVE-2024-6704 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-6704 affect?
CVE-2024-6704 affects wpdiscuz. Severity is medium (CVSS 5.3). The Comments – wpDiscuz plugin for WordPress is vulnerable to HTML Injection in all versions up to, and including, 7.6.21. This is due to a lack of filtering of HTML tags in comments. This makes it possible for unauthenticated attackers to
How urgent is CVE-2024-6704?
Priority 36/100. Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2026-22216 MEDIUM 6.5 UPGRADE wpDiscuz before 7.6.47 contains a missing rate limiting vulnerability that allows unauthenticated attackers to
- CVE-2026-22215 MEDIUM 4.3 UPGRADE wpDiscuz before 7.6.47 contains a cross-site request forgery vulnerability in the getFollowsPage() function th
- CVE-2026-22210 MEDIUM 4.4 UPGRADE wpDiscuz before 7.6.47 contains a cross-site scripting vulnerability that allows attackers to inject malicious
- CVE-2026-22209 MEDIUM 5.5 UPGRADE wpDiscuz before 7.6.47 contains a cross-site scripting vulnerability in the customCss field that allows admini
- CVE-2026-22204 LOW 3.7 UPGRADE wpDiscuz before 7.6.47 contains an email header injection vulnerability that allows attackers to manipulate ma