CVE-2024-6704
published medium CVSS 3.1 · 5.3Comments – wpDiscuz <= 7.6.21 - Unauthenticated HTML Injection
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| advancedcoding | Comments – wpDiscuz | 0 through 7.6.21 (affected · semver)Default: unaffected | Wordfence · cna |
| gvectorsteam | comments-wpdiscuz | 0 through 7.6.21 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
1- CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3Provider assertions
2Wordfence · cna
Comments – wpDiscuz <= 7.6.21 - Unauthenticated HTML Injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f1eb10b101287162f45d319f34265304c9700247dfbdae6b94dfdc6c89cf2f25
- Ingested
- 23 Sep 2026, 08:33:19 UTC
- Source record
- Official CVE record