---
id: CVE-2026-9148
title: >-
  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
  getCommentAutho…
summary: >-
  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
  getCommentAutho…
severity: high
cvss: 7.2
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2026-07-03'
updated: '2026-07-03'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-9148'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpdiscuz/tags/7.6.48/forms/wpdFormAttr/Field/DefaultField/Website.php#L119
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpdiscuz/tags/7.6.48/forms/wpdFormAttr/Tools/Sanitizer.php#L14
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpdiscuz/tags/7.6.48/utils/class.WpdiscuzHelper.php#L1615
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpdiscuz/tags/7.6.48/utils/class.WpdiscuzHelper.php#L1619
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpdiscuz/tags/7.6.54/forms/wpdFormAttr/Field/DefaultField/Website.php#L119
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpdiscuz/tags/7.6.54/forms/wpdFormAttr/Tools/Sanitizer.php#L14
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpdiscuz/tags/7.6.54/utils/class.WpdiscuzHelper.php#L1615
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/wpdiscuz/tags/7.6.54/utils/class.WpdiscuzHelper.php#L1619
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset/3563675/wpdiscuz/trunk/utils/class.WpdiscuzHelper.php
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?old_path=%2Fwpdiscuz/tags/7.6.56&new_path=%2Fwpdiscuz/tags/7.6.57
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/f509f1c6-6094-434d-8e70-ad8419250aa2?source=cve
    label: security@wordfence.com
tags:
  - nvd
ingestedAt: '2026-07-04T07:55:53.705Z'
epss: 0.00508
epssPercentile: 0.42398
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
