CVE-2021-24737 Comments - wpDiscuz <= 7.3.0 - Admin+ Stored Cross-Site Scripting
High-privilege users can inject malicious scripts via Follow/Unfollow messages in the wpDiscuz plugin, leading to stored XSS.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2021-24737?
CVE-2021-24737 is a medium-severity cross-site scripting vulnerability in Unknown Comments – wpDiscuz, published on 11 Oct 2021. An attacker needs administrator access to exploit it, and only if a user opens a file or follows a link.
Official description
The Comments – wpDiscuz WordPress plugin through 7.3.0 does not properly sanitise or escape the Follow and Unfollow messages before outputting them in the page, which could allow high privilege users to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed.
Weakness: CWE-79
Which versions are affected by CVE-2021-24737?
It affects 1 product.
Products include Gvectors Wpdiscuz.
How do I fix CVE-2021-24737?
No fix has been published for CVE-2021-24737 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-2021-24737 being exploited?
There is no known exploitation of CVE-2021-24737 in the wild and no public exploit code.
Other vulnerabilities in Unknown Comments – wpDiscuz
- CVE-2020-24186 File upload in n/a
- CVE-2024-9488 Comments – wpDiscuz <= 7.6.24 - Authentication Bypass via WordPress.com OAuth provider
- CVE-2020-13640 SQL injection in n/a
- CVE-2026-22193 wpDiscuz before 7.6.47 - SQL Injection in getAllSubscriptions()
- CVE-2026-22192 Voltronic Power SNMP Web Pro 1.1 Authentication Bypass via localStorage
Sources
Also known as GHSA-3cx9-v24x-52mr.