wpDiscuz <= 7.6.15 - Authenticated (Author+) Stored Cross-Site Scripting via Uploaded Image Alternative Text

6.4
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2024-2477
CVSS 6.4 (Medium)
Publicly Published April 22, 2024
Last Updated April 23, 2024
Researcher Ngô Thiên An (ancorn_)

Description

The wpDiscuz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'Alternative Text' field of an uploaded image in all versions up to, and including, 7.6.15 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with author-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.

Learn more about Cross-Site Scripting vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for Comments – wpDiscuz

Software Type Plugin
Software Slug wpdiscuz (view on wordpress.org)
Patched? Yes
Remediation Update to version 7.6.16, or a newer patched version
Affected Version
  • <= 7.6.15
Patched Version
  • 7.6.16

Recent vulnerabilities in Comments – wpDiscuz

# Title CVE ID CVSS Researchers Date
1 Comments <= 7.6.56 - Unauthenticated Stored Cross-Site Scripting via 'Website' Field CVE-2026-9148 7.2 mickeyjoe July 2, 2026
2 wpDiscuz <= 7.6.42 - Unauthenticated Insecure Direct Object Reference CVE-2025-68997 5.3 Doan Dinh Van (d52v) December 25, 2025
3 Comments – wpDiscuz <= 7.6.39 - Unauthenticated Authentication Bypass Through Account Takeover CVE-2025-13820 8.1 wesley (wcraft) December 11, 2025
4 wpDiscuz <= 7.6.33 - Missing Authorization CVE-2025-59591 4.3 Legion Hunter September 22, 2025
5 Comments – wpDiscuz <= 7.6.24 - Authentication Bypass via WordPress.com OAuth provider CVE-2024-9488 9.8 wesley (wcraft) October 24, 2024
6 Comments – wpDiscuz <= 7.6.21 - Unauthenticated HTML Injection CVE-2024-6704 5.3 Tieu Pham Trong Nhan August 1, 2024
7 Comments – wpDiscuz <= 7.6.18 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-35681 6.4 LVT-tholv2k June 6, 2024
8 wpDiscuz <= 7.6.12 - Authenticated (Administrator+) Stored Cross-Site Scripting CVE-2023-51691 4.4 Jeongwoo-Lee(Roronoa) November 17, 2023
9 wpDiscuz <= 7.6.11 - Cross-Site Request Forgery CVE-2023-47775 4.3 R3N0 November 14, 2023
10 wpDiscuz <= 7.6.11 - Unauthenticated Stored Cross-Site Scripting via Comment Uploaded Image Filename CVE-2023-47185 7.2 R3N0 October 31, 2023

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation