Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSubmit comment with malicious comment_author_url
-
DeliveryObtain approval for first comment
-
ExploitInject unsanitized script via URL/anchor href
-
ExecutionPayload stored and served in page
-
ImpactScript executes in visitors' browsers (scope change)
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 the attacker to inject a JavaScript payload through the 'url' (comment_author_url) field or an anchor href inside a comment, and critically requires that the malicious comment be approved. Under WordPress's default discussion settings this means an administrator must first manually approve one earlier comment from the same author; only then are subsequent payload-carrying comments from that author auto-approved and served to all visitors. The vulnerability is present in all versions up to and including 0.5.8 of the WP-HTML-Compression plugin and triggers when any user subsequently views the affected page. Limiting factors: the mandatory comment-approval workflow is a human control that blocks fully automated mass exploitation, the impact is limited (C:L/I:L, no availability loss), and sites that disable comments, require registration to comment, or hold all comments in moderation are not exposed. |
| Impact | This is a genuine but moderate-priority issue rather than a top-tier emergency. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, score 7.2) indicates a network-reachable, low-complexity, unauthenticated stored XSS with a scope change (attacker code runs in the context of other users' sessions). PR:N confirms the attacker needs no authentication to submit the malicious comment. However, the description adds a critical real-world gate the raw vector does not capture: the malicious comment must be approved, and under WordPress default discussion settings an administrator must manually approve one prior comment from the same author before later comments auto-publish - a human-in-the-loop control that meaningfully reduces mass, drive-by exploitability and conflicts with the frictionless picture implied by AC:L/PR:N. No EPSS score, KEV listing, or SSVC automatable/technical-impact values were supplied, so probabilistic exploitation signals cannot be weighed; the only priority signal is vuln.today's 'this_week' decision label. The provided references are Wordfence's advisory and WordPress plugin source-code lines, not weaponized exploit code. Net: a real, patch-worthy stored XSS whose impact (C:L/I:L, no availability) and approval prerequisite place it in the 'address this week' tier rather than 'act now', its reach further bounded by the plugin's limited deployment footprint. |
| Exploit ScenarioDerived | An unauthenticated attacker submits a blog comment containing a crafted comment_author_url or an anchor href with a JavaScript payload that the plugin fails to sanitize or escape. Once the comment is approved and rendered, the stored script executes in the browser of every visitor who views the page, enabling session/cookie theft, admin-action forgery, or redirection. No public exploit identified at time of analysis; the listed references are the vendor advisory and plugin source code, not working exploit code. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Dec 02, 2026
Stored cross-site scripting in the WP-HTML-Compression plugin for WordPress (all versions up to and including 0.5.8) allows remote unauthenticated attackers to inject arbitrary web scripts through the comment author URL field and anchor hrefs inside comment content, which then execute for any visitor viewing the affected page. Exploitation is gated by WordPress's comment approval workflow: under default discussion settings an administrator must first approve an earlier comment from the same author before later payload-bearing comments are auto-approved and served to all visitors, a human control that limits mass automated abuse. The issue carries a CVSS score of 7.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N) with limited confidentiality and integrity impact and no availability impact; no public exploit identified at time of analysis.
RemediationAI
No vendor-released patch was identified at time of analysis, so site owners should track the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/106f750e-2416-4bc3-ab2c-7fedb4c99b67?source=cve) for a corrected release and treat the plugin's continued presence as a standing exposure. The decisive compensating control is to eliminate the auto-approval path: enable the setting that holds every comment for manual moderation (not just first-time commenters) and require administrators to review comment author URLs and link markup before approval - the trade-off is a higher moderation workload and delayed comment publication. Disabling comments entirely on public pages, or requiring users to be registered and logged in to comment, removes the unauthenticated injection vector at the cost of reader engagement. Where HTML minification and absolute-to-relative URL rewriting are not operationally required, deactivating and removing WP-HTML-Compression eliminates the vulnerable output path, with the side effect of losing the plugin's page-size and performance optimizations. Note that configs relying solely on WordPress's default first-comment moderation are not protected once an attacker's initial comment has been approved.
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 flaw is a classic stored cross-site scripting condition (CWE-79): the plugin fails to sanitize comment-derived input - specifically the comment author URL (comment_author_url) and anchor href values embedded in comment bodies - and fails to escape that data when it is written back into the rendered page. WP-HTML-Compression is an output-transformation plugin that buffers and minifies WordPress HTML and rewrites absolute URLs to relative ones, so comment content and commenter-supplied links pass through its processing routines; the references point to libs/absolute-to-relative-urls.php (lines 139, 310 and 350), libs/html-minify.php (lines 68 and 186) and the main plugin file wp-html-compression.php (line 31) as the relevant code locations. Because the payload is persisted in a comment and served to every subsequent visitor of the injected page, a single successful injection can affect all readers of that page. The exact code-level trigger inside those routines is not described in the available sources beyond the stated sanitization and escaping gaps and the comment-approval prerequisite. The CPE cpe:2.3:a:prometh:wp-html-compression:*:*:*:*:*:*:*:* covers the plugin across all versions, with 0.5.8 confirmed as the last affected release in the provided data.
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
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Unauthenticated network injection (AV:N/PR:N) into stored content that runs in other users' context gives S:C with C:L/I:L and no availability impact; AC:L reflects low technical complexity, though the comment-approval gate is a real external limiter.
Primary rating from Vendor (Wordfence).
CVSS VectorNVD
DescriptionNVD
The WP-HTML-Compression plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'url (comment_author_url) and anchor href inside comment' parameter in all versions up to, and including, 0.5.8 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires that the attacker's comment is approved; under WordPress's default discussion settings, an administrator must first approve one prior comment from the attacker before subsequent payload-carrying comments are auto-approved and served to all visitors.
Articles & Coverage 1
Executive ViewAI
CVE-2026-136546 is a stored cross-site scripting vulnerability in the WP-HTML-Compression plugin (all versions up to 0.5.8) that could allow unauthenticated attackers to inject malicious scripts into comment fields, affecting any visitor to pages where comments are displayed. Although exploitation requires an approved comment, the potential for limited confidentiality and integrity impact across the site's user base warrants management attention to protect the organization's reputation and user trust.
No vendor-released patch identified at time of analysis. Interim mitigations include disabling the plugin, enforcing strict comment moderation (requiring approval for all comments), and deploying WAF rules to filter malicious script payloads.
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.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-140814
GHSA-p883-h5rm-3rgm
NVD
CVE.org
Exploit-DB