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

Medium 5.3 Published Updated

Unauthenticated attackers can inject HTML into comments when rich editing is disabled, potentially leading to XSS attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-6704?

CVE-2024-6704 is a medium-severity cross-site scripting vulnerability in advancedcoding Comments – wpDiscuz, published on 2 Aug 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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

Weakness: CWE-79

Which versions are affected by CVE-2024-6704?

It affects 1 product.

Products include Gvectors Wpdiscuz.

How do I fix CVE-2024-6704?

No fix has been published for CVE-2024-6704 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-6704 being exploited?

There is no known exploitation of CVE-2024-6704 in the wild and no public exploit code.

Sources

Also known as GHSA-vh6j-6rmm-669j.

Is CVE-2024-6704 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free