Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Unauthenticated network injection (AV:N/PR:N), but payload execution needs a victim to view the comment page, so UI:R; script runs in the browser context so S:C with Low C/I and no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
Lifecycle Timeline
2DescriptionCVE.org
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.
Articles & Coverage 1
AnalysisAI
Stored cross-site scripting in the Comments - wpDiscuz WordPress plugin (versions up to and including 7.6.56) allows unauthenticated guest commenters to persist malicious script by injecting into the 'Website' field, which is later rendered unescaped by getCommentAuthor(). The stored comment_author_url is interpolated directly into single-quoted HTML attributes without esc_url() or esc_attr(), so any visitor viewing an affected comment thread executes the attacker's payload in their browser session. No public exploit identified at time of analysis, but exploitation requires no authentication and the source-level root cause is documented in the WordPress plugin trac.
Technical ContextAI
The affected component is wpDiscuz, a high-traffic AJAX-based commenting plugin for WordPress (CPE cpe:2.3:a:advancedcoding:comments_-_wpdiscuz), which replaces the native WordPress comment form. The flaw is a CWE-79 (Improper Neutralization of Input During Web Page Generation) issue: the guest 'Website' field maps to WordPress's comment_author_url. The referenced source (class.WpdiscuzHelper.php lines 1615/1619 and Website.php line 119) shows getCommentAuthor() emitting the stored URL directly into a single-quoted HTML attribute. Because WordPress's default comment_author_url sanitization (esc_url_raw on storage) does not neutralize characters that break out of a single-quoted attribute context, and the output path omits esc_url()/esc_attr(), an attacker-controlled string reaches the DOM as executable markup. This is a persistent (stored) XSS, meaning the payload is saved server-side and served to every subsequent viewer rather than requiring a crafted link per victim.
RemediationAI
Vendor-released patch: update the Comments - wpDiscuz plugin to version 7.6.57 or later, which corrects the output escaping in getCommentAuthor() as shown in the trac changeset (https://plugins.trac.wordpress.org/changeset/3563675/wpdiscuz/trunk/utils/class.WpdiscuzHelper.php). Review the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/f509f1c6-6094-434d-8e70-ad8419250aa2?source=cve) for indicators. If immediate patching is not possible, compensating controls include disabling the guest 'Website' URL field in wpDiscuz form settings so the comment_author_url cannot be populated (trade-off: legitimate commenters lose the ability to link their site), enabling comment moderation so no guest comment is published until an administrator approves it (trade-off: added moderation workload and delayed comment display), and deploying a WAF rule to block angle brackets/quote-breakout sequences in the wc_comment/website POST parameter (trade-off: possible false positives on legitimate URLs). Audit and sanitize existing stored comment_author_url values, as the patch does not retroactively clean previously injected records.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-41514
GHSA-mh45-hp98-pch7