{"id":"CVE-2024-6704","state":"PUBLISHED","title":"Comments – wpDiscuz <= 7.6.21 - Unauthenticated HTML Injection","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.","publishedAt":"2024-08-02T10:59:33.380Z","updatedAt":"2026-04-08T17:34:19.871Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"Wordfence"},"assigner":"Wordfence","products":["advancedcoding Comments – wpDiscuz"],"affected":[{"vendor":"advancedcoding","product":"Comments – wpDiscuz","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"7.6.21","versionType":"semver"}]}],"references":["https://www.wordfence.com/threat-intel/vulnerabilities/id/fa3501a4-7975-4f90-8037-f8a06c293c07?source=cve","https://plugins.trac.wordpress.org/browser/wpdiscuz/trunk/class.WpdiscuzCore.php#L335","https://plugins.trac.wordpress.org/changeset/3124810/"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/6xxx/CVE-2024-6704.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-6704","state":"PUBLISHED","datePublished":"2024-08-02T10:59:33.380Z","dateUpdated":"2026-04-08T17:34:19.871Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2024-07-11T20:24:28.981Z"},"containers":{"cna":{"title":"Comments – wpDiscuz <= 7.6.21 - Unauthenticated HTML Injection","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"advancedcoding","product":"Comments – wpDiscuz","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"7.6.21","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/fa3501a4-7975-4f90-8037-f8a06c293c07?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/wpdiscuz/trunk/class.WpdiscuzCore.php#L335"},{"url":"https://plugins.trac.wordpress.org/changeset/3124810/"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-04-08T17:34:19.871Z"},"credits":[{"lang":"en","type":"finder","value":"Tieu Pham Trong Nhan"}],"timeline":[{"time":"2024-08-01T00:00:00.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"gvectorsteam","product":"comments-wpdiscuz","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThanOrEqual":"7.6.21","versionType":"custom"}],"cpes":["cpe:2.3:a:gvectorsteam:comments-wpdiscuz:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-02T15:19:32.566668Z","id":"CVE-2024-6704","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-02T15:30:39.774Z"}}]}}}