Skip to main content

wpDiscuz EUVDEUVD-2026-41514

| CVE-2026-9148 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-07-03 Wordfence GHSA-mh45-hp98-pch7
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Load post with wpDiscuz comment form
  2. Delivery
    Submit guest comment with payload in Website field
  3. Exploit
    Server stores unescaped comment_author_url
  4. Install
    Victim/admin views comment thread
  5. C2
    getCommentAuthor() renders script into DOM
  6. Execute
    Execute script in victim browser context
  7. Impact
    Hijack session or redirect victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the wpDiscuz comment form expose the guest commenter 'Website' field (the default for guest/anonymous commenting) and that guest comments are published without a manual moderation gate; the attacker needs no account (PR:N) and no special platform. The concrete prerequisite is control over the comment_author_url value via the Website input, which getCommentAuthor() then emits into a single-quoted attribute without esc_url()/esc_attr(). Limiting factors that reduce real-world risk: sites that disable the Website field, require comment approval before publication, or restrict commenting to registered users, are not exploitable by anonymous actors; and payload execution still depends on a victim subsequently loading the page containing the injected comment.

Impact

The CVSS 3.1 base score is 7.2 (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N); the elevated score is driven primarily by the changed scope (S:C) reflecting that injected script runs in the victim's browser security context rather than the plugin's, combined with no privilege or user-interaction requirement to plant the payload. Real-world impact is bounded by the Low confidentiality and Low integrity ratings and no availability impact - this is a classic stored XSS, not a server-side RCE. No EPSS score, KEV listing, POC, or SSVC decision data was supplied, so there is no evidence of active exploitation; the appropriate read is a genuinely exploitable but moderate-priority issue rather than an emergency. Note a tension worth flagging: the vector marks UI:N, yet realistic exploitation still depends on a victim loading the injected comment page - the UI:N reflects that no interaction is needed to STORE the payload, not that a victim is never involved. Priority should scale with how exposed the site's comment sections are and whether administrators view comments in wp-admin (where payloads could target privileged sessions).

Exploit ScenarioDerived

An unauthenticated attacker submits a guest comment on any post with wpDiscuz enabled, placing a breakout payload such as a single-quote followed by an event-handler attribute into the 'Website' field. The plugin stores the value and renders it unescaped on the comment thread, so when any visitor - or an administrator reviewing comments in wp-admin - loads the page, the script executes in their browser, enabling session/cookie theft, admin-session hijacking, or drive-by redirection. No public exploit code was identified, but the trac source references make the vulnerable sink and required breakout context readily reproducible.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 03, 2026

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.

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.

Affected VersionsENISA

Comments – wpDiscuz 0 ≤7.6.56

Affected Packages

euvd comments_wpdiscuz no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

Executive ViewAI

Why It Matters

The wpDiscuz plugin (versions ≤7.6.56) used on WordPress sites contains a stored cross-site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts into comment fields. Every visitor viewing an affected comment thread executes the attacker's payload, creating direct risk of session hijacking, credential theft, or malware distribution across your website's visitor base.

Business Impact: High
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) disable the wpDiscuz plugin; (2) restrict comment functionality to authenticated users only; (3) implement Web Application Firewall rules blocking XSS patterns in comment submissions; (4) audit existing comments in the database for injected payloads and sanitize or delete; (5) enforce Content Security Policy headers to limit unauthorized script execution; (6) implement comment moderation review before publication.

Threat Intelligence Overview

EPSS Score
0.3%
Top 78% exploitable
Prevalence
High
one of the most installed WordPress comment plugins, hundreds of thousands of sites
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy