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.
Published: 2026-07-03
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The wpDiscuz Comments plugin for WordPress allows an unauthenticated attacker to inject arbitrary JavaScript by submitting a comment with a crafted value in the visitor "Website" field. The vulnerability arises because the comment_author_url is inserted directly into a single‑quoted attribute in the rendered comment without applying the required esc_url() or esc_attr() sanitisation, leaving stored‑79) exposure. When a user visits the page that contains the stored comment, the injected script executes in the user’s browser, enabling attacker‑controlled actions such as defacement, credential theft, or session hijacking.

Affected Systems

This flaw affects installations of the AdvancedCoding wpDiscuz Comments plugin for WordPress running version 7.6.56 or earlier. Site administrators should verify the installed plugin version and determine whether the vulnerable code path is present in their deployment.

Risk and Exploitability

Valued at CVSS 7.2 the vulnerability is classified as high severity, yet it has an EPSS score of <1% and is not listed in the CISA KEV catalog, indicating that large‑scale exploitation is not currently widespread. The attack vector is unauthenticated and stored; an attacker can post a comment with a malicious Website field without any authentication, and the payload will be delivered to every visitor who loads the comment, giving the attacker a broad impact window.

Generated by OpenCVE AI on July 21, 2026 at 10:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade wpDiscuz to version 7.6.57 or later so that the offending code path is removed or sanitized.
  • If an upgrade cannot be applied immediately, edit the getCommentAuthor() function or apply a WordPress filter to wrap comment_author_url with esc_url() or esc_attr() before it is output.
  • Disable the plugin settings, or restrict comment posting to authenticated users only, to eliminate the XSS vector.

Generated by OpenCVE AI on July 21, 2026 at 10:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 06 Jul 2026 23:15:00 +0000

Type Values Removed Values Added
First Time appeared Advancedcoding
Advancedcoding comments – Wpdiscuz
Wordpress
Wordpress wordpress
Vendors & Products Advancedcoding
Advancedcoding comments – Wpdiscuz
Wordpress
Wordpress wordpress

Mon, 06 Jul 2026 16:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 03 Jul 2026 08:00:00 +0000

Type Values Removed Values Added
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.
Title Comments <= 7.6.56 - Unauthenticated Stored Cross-Site Scripting via 'Website' Field
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Advancedcoding Comments – Wpdiscuz
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-06T15:32:18.602Z

Reserved: 2026-05-20T21:18:38.233Z

Link: CVE-2026-9148

cve-icon Vulnrichment

Updated: 2026-07-06T15:32:14.563Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-21T10:15:02Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')