CVE-2026-9148

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

Published Jul 3, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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 August 1, 2026 at 20:42 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Advancedcoding
Advancedcoding comments – Wpdiscuz
Wordpress
Wordpress wordpress
Vendors & Products Advancedcoding
Advancedcoding comments – Wpdiscuz
Wordpress
Wordpress wordpress
Type Values Removed Values Added
Metrics ssvc

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

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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Jul 6, 2026, 3:32 PM
Reserved
May 20, 2026, 9:18 PM
Status
Deferred
Published
Jul 3, 2026, 8:16 AM
Modified
Jul 6, 2026, 6:02 PM