CVE-2026-9148 PUBLISHED

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

Assigner: Wordfence
Reserved: 20.05.2026 Published: 03.07.2026 Updated: 03.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CVSS Score: 7.2

Product Status

Vendor advancedcoding
Product Comments – wpDiscuz
Versions Default: unaffected
  • affected from 0 to 7.6.56 (incl.)

Credits

  • mickeyjoe finder

References

Problem Types

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