Skip to main content

Comments WordPress Plugin CVE-2026-15032

| EUVDEUVD-2026-54378 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-07 WPScan GHSA-v3mq-vj7f-qxwx
6.1
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

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

  1. Access
    Submit crafted URL in unauthenticated comment
  2. Delivery
    Payload stored in WordPress database
  3. Exploit
    Admin or user loads page with poisoned comment
  4. Execution
    JavaScript executes in victim browser
  5. Impact
    Exfiltrate session cookie or perform admin-level actions

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

The Comments WordPress plugin must be installed, active, and running a version below 7.6.60 on the target WordPress site. Comment submission must be open to unauthenticated users - a common default configuration, but sites that restrict commenting to registered or logged-in users only would require the attacker to first register an account (shifting from PR:N to PR:L). No other special configuration is required to store the payload. Payload execution is conditional on a victim browsing to the page containing the poisoned comment (UI:R per CVSS) - impact is maximized when an administrator views the content, but the payload fires for any user. Effective exploitation is further constrained by the absence of any scope-change beyond the browser, meaning server-side resources are not directly accessible without a subsequent action by the compromised admin session. A deployed Content Security Policy restricting inline script execution would block payload activation even when the stored content is rendered.

Impact

The CVSS 6.1 Medium rating with vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N reflects a low-friction attack path - no authentication is needed to store the payload and no special network position is required - but real-world impact depends on whether an administrator views the comment. The EPSS score of 0.17% (7th percentile) is notably low given that a public exploit exists via WPScan, suggesting the exploit has not been integrated into mass-scanning tooling or that the plugin's install base limits reach. This discrepancy is consistent with a proof-of-concept that works but has not been weaponized at scale. The absence of a CISA KEV listing further supports a lower-urgency posture for most organizations. However, stored XSS targeting WordPress admin users carries outsized effective impact: a single admin viewing the poisoned page can yield full site compromise through credential or cookie theft, privilege escalation via the WordPress admin API, or persistent backdoor installation. Sites running the plugin with open comment submission represent a realistic target for opportunistic attackers.

Exploit ScenarioDerived

An unauthenticated attacker visits a WordPress site running the vulnerable Comments plugin and submits a comment containing a crafted URL that injects JavaScript through an unescaped HTML attribute - for example, closing the attribute with a quote and appending an event handler or javascript: scheme. The payload persists in the WordPress database and silently executes each time any user, including site administrators, loads the page containing that comment. With the publicly available WPScan exploit lowering the skill requirement, an attacker could automate payload delivery and exfiltrate the admin's session cookie to a remote endpoint, gaining full WordPress administrative access.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 07, 2026

Stored Cross-Site Scripting in the Comments WordPress plugin (all versions before 7.6.60) permits unauthenticated attackers to permanently inject malicious JavaScript into the site database by submitting a crafted URL that the plugin fails to escape before rendering inside an HTML attribute. Any authenticated user - including site administrators - who subsequently views the affected content triggers payload execution in their browser, potentially enabling session hijacking and full site takeover. A publicly available exploit is referenced via WPScan, though EPSS at 0.17% (7th percentile) indicates low observed exploitation volume at time of analysis, and the vulnerability is not listed in CISA KEV.

RemediationAI

The primary fix is to upgrade the Comments WordPress plugin to version 7.6.60 or later, which resolves the URL escaping defect; administrators should apply this update immediately via the WordPress dashboard or WP-CLI. The patch is confirmed available per the WPScan advisory at https://wpscan.com/vulnerability/e77ea3fb-4d38-4fa7-a50b-1a0078f34474/. If immediate patching is not feasible, disabling the Comments plugin entirely eliminates the attack surface at the cost of removing commenting functionality from the site. Restricting comment submission to logged-in users (via WordPress Settings > Discussion) raises the attacker bar from unauthenticated to at least subscriber-level, reducing but not eliminating risk. Deploying a Web Application Firewall rule to block common XSS patterns in comment fields may reduce exposure, but encoding bypasses make this an unreliable standalone control. A Content Security Policy (CSP) header that disallows inline scripts and restricts script sources provides meaningful defense-in-depth against payload execution even if the stored content reaches the page.

Affected VersionsENISA

Comments 0 <7.6.60

Affected Packages

euvd comments fix: 7.6.60

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 root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation - Cross-Site Scripting), specifically the stored/persistent variant. The Comments plugin for WordPress accepts a user-supplied URL value as part of comment submission and embeds it directly inside an HTML attribute without adequate output encoding or sanitization. This allows an attacker to break out of the attribute context using unescaped quotation marks or inject a javascript: URI scheme, executing arbitrary JavaScript when the rendered page is loaded. The CPE string cpe:2.3:a:unknown:comments:*:*:*:*:*:*:*:* reveals the vendor attribution in NVD is unresolved, placing authoritative plugin identification with the WPScan database. The CVSS scope-change flag (S:C) reflects that the payload executes in a browser context distinct from the server, which is the standard XSS trust boundary crossing.

Know when Comments 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 (WPScan) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Network-accessible stored XSS; no authentication required to plant payload; victim page view required; scope change reflects browser execution crossing trust boundary; 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 (WPScan).

CVSS VectorVendor: WPScan

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

Lifecycle Timeline

4
CVSS changed
Aug 07, 2026 - 18:22 NVD
6.1 (MEDIUM)
Patch available
Aug 07, 2026 - 07:01 EUVD
CVE Published
Aug 07, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 07, 2026 - 06:00 cve.org
MEDIUM 6.1

DescriptionCVE.org

The Comments WordPress plugin before 7.6.60 does not properly escape a user-supplied URL before outputting it inside an HTML attribute, allowing unauthenticated users to store a Cross-Site Scripting payload that executes in the browser of any user, including administrators, who views the affected content.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
WordPress plugin with unresolved NVD vendor and unknown install count
Exploit
POC
Public exploit code exists
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 MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
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.

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