CVE-2024-6704: Comments – wpDiscuz <= 7.6.21 - Unauthenticated HTML Injection
Vulnerability summary
CVE-2024-6704 is a medium (CVSS 6.1) vulnerability in advancedcoding comments – wpdiscuz. EPSS estimates a 0.60% chance of exploitation in the next 30 days, higher than 49.4% of scored vulnerabilities. Fixed in 7.6.22.
Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-08-2024PublishedVulnerability first disclosed.
- 08-04-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NDiffers
- wordfenceSource5.3MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:NDiffers
EPSS trend
Probability
0.60%
Chance of exploitation in the next 30 days
Percentile
49%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.60% on 21-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Advancedcoding1 product
- comments – wpdiscuz≤ 7.6.21
Gvectors1 product
- wpdiscuz< 7.6.22
Wordpress1 product
- wpdiscuz≤ 7.6.21 (fixed in 7.6.22)
3 vendors · 3 products