# CVE-2024-6704: Comments – wpDiscuz <= 7.6.21 - Unauthenticated HTML Injection

- Severity: Medium 5.3 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 49% of CVEs (2026-12-01)
- Published: 2024-08-02T10:59:33.380Z
- Modified: 2026-06-17T08:18:30.970Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- advancedcoding Comments – wpDiscuz: up to 7.6.21
- gvectorsteam comments-wpdiscuz: up to 7.6.21
- gvectors wpdiscuz: before 7.6.22

## Every score

- Wordfence: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/fa3501a4-7975-4f90-8037-f8a06c293c07?source=cve> (third-party-advisory)
- <https://plugins.trac.wordpress.org/browser/wpdiscuz/trunk/class.WpdiscuzCore.php#L335> (product)
- <https://plugins.trac.wordpress.org/changeset/3124810/> (patch)

## Sources

- CVE List: [CVE-2024-6704](https://www.cve.org/CVERecord?id=CVE-2024-6704), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2024-6704](https://nvd.nist.gov/vuln/detail/CVE-2024-6704), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-6704 · Whole record: https://cve.day/CVE-2024-6704.json · Rebuilt by cve.day 2026-11-25T22:58:43.558Z
