Comments <= 7.6.56 - Unauthenticated Stored Cross-Site Scripting via 'Website' Field

7.2
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CVE CVE-2026-9148
CVSS 7.2 (High)
Publicly Published July 2, 2026
Last Updated July 3, 2026
Researcher mickeyjoe

Description

The Comments – wpDiscuz plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the guest commenter 'Website' field in versions up to, and including, 7.6.56 This is due to insufficient output escaping in the getCommentAuthor() function, which interpolates the stored comment_author_url value directly into single-quoted HTML attributes without applying esc_url() or esc_attr(). This makes it possible for unauthenticated attackers 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.57, or a newer patched version
Affected Version
  • <= 7.6.56
Patched Version
  • 7.6.57

Recent vulnerabilities in Comments – wpDiscuz

# Title CVE ID CVSS Researchers Date
1 wpDiscuz <= 7.6.42 - Unauthenticated Insecure Direct Object Reference CVE-2025-68997 5.3 Doan Dinh Van (d52v) December 25, 2025
2 Comments – wpDiscuz <= 7.6.39 - Unauthenticated Authentication Bypass Through Account Takeover CVE-2025-13820 8.1 wesley (wcraft) December 11, 2025
3 wpDiscuz <= 7.6.33 - Missing Authorization CVE-2025-59591 4.3 Legion Hunter September 22, 2025
4 Comments – wpDiscuz <= 7.6.24 - Authentication Bypass via WordPress.com OAuth provider CVE-2024-9488 9.8 wesley (wcraft) October 24, 2024
5 Comments – wpDiscuz <= 7.6.21 - Unauthenticated HTML Injection CVE-2024-6704 5.3 Tieu Pham Trong Nhan August 1, 2024
6 Comments – wpDiscuz <= 7.6.18 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-35681 6.4 LVT-tholv2k June 6, 2024
7 wpDiscuz <= 7.6.15 - Authenticated (Author+) Stored Cross-Site Scripting via Uploaded Image Alternative Text CVE-2024-2477 6.4 Ngô Thiên An (ancorn_) April 22, 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