Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit crafted URL in unauthenticated comment
-
DeliveryPayload stored in WordPress database
-
ExploitAdmin or user loads page with poisoned comment
-
ExecutionJavaScript executes in victim browser
-
ImpactExfiltrate 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
4DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
SQL injection in the Comments WordPress plugin before 7.6.66 allows unauthenticated remote attackers to read restricted
An issue was discovered in the Comments plugin before 1.5.5 for Craft CMS. Rated medium severity (CVSS 6.5), this vulner
An issue was discovered in the Comments plugin before 1.5.5 for Craft CMS. Rated medium severity (CVSS 5.4), this vulner
An issue was discovered in the Comments plugin before 1.5.6 for Craft CMS. Rated medium severity (CVSS 5.4), this vulner
EUVD-2026-54378
GHSA-v3mq-vj7f-qxwx
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB