{"id":"CVE-2024-6704","aliases":["CVE-2024-6704"],"related":[],"kind":"vulnerability","state":"published","title":"Comments – wpDiscuz <= 7.6.21 - Unauthenticated HTML Injection","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El complemento Comments – wpDiscuz para WordPress es vulnerable a la inyección de HTML en todas las versiones hasta la 7.6.21 incluida. Esto se debe a la falta de filtrado de etiquetas HTML en los comentarios. Esto hace posible que atacantes no autenticados agreguen HTML, como hipervínculos, a comentarios cuando la edición enriquecida está deshabilitada.","source":"nvd"}],"published":"2024-08-02T10:59:33.380Z","modified":"2026-06-17T08:18:30.970Z","severity":{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"Wordfence","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"7.6.21","status":"affected"}],"vendor":"advancedcoding","product":"Comments – wpDiscuz","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","lastAffected":"7.6.21","status":"affected"}],"vendor":"gvectorsteam","product":"comments-wpdiscuz","cpe":"cpe:2.3:a:gvectorsteam:comments-wpdiscuz:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"7.6.22"}],"vendor":"gvectors","product":"wpdiscuz","cpe":"cpe:2.3:a:gvectors:wpdiscuz:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/fa3501a4-7975-4f90-8037-f8a06c293c07?source=cve","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/browser/wpdiscuz/trunk/class.WpdiscuzCore.php#L335","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://plugins.trac.wordpress.org/changeset/3124810/","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":["Tieu Pham Trong Nhan"],"assigner":"Wordfence","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-08-02T15:19:32.566Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-6704","url":"https://www.cve.org/CVERecord?id=CVE-2024-6704","licence":"CVE Terms of Use","modified":"2026-04-08T17:34:19.871Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-6704","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6704","licence":"Public domain","modified":"2026-06-17T08:18:30.970Z"}],"updatedAt":"2026-11-25T22:58:43.558Z","epss":{"score":0.00596,"percentile":0.49858,"date":"2026-12-01T12:00:22.000Z"}}