CVE-2026-136546
7.2HighPublished Dec 2, 2026 · NVD status: Deferred · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User action
- None
- Impact
- Limited impact
- Weakness
- CWE-79
What an attacker gets
Unauthenticated attackers can inject malicious scripts into your site that execute in visitors' browsers. This requires the attacker to have at least one previously approved comment on the site.
Root cause
The plugin fails to properly sanitize input or escape output for comment author URLs and anchor tags.
Affected versions
All versions up to and including 0.5.8
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Fix & remediation
There is no patched version available; uninstall or disable the WP-HTML-Compression plugin immediately.
$ wp plugin deactivate wp-html-compressionAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD description
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.
References
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php#L139
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php#L310
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php#L350
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/html-minify.php#L186
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/html-minify.php#L68
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/wp-html-compression.php#L31
- https://www.wordfence.com/threat-intel/vulnerabilities/id/106f750e-2416-4bc3-ab2c-7fedb4c99b67?source=cve
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1364867.2HighUnauthenticated attackers can inject malicious scripts that execute in an administrator's browser. This occurs when an admin accesses the Insert Sidebar dialog in the classic editor.
- CVE-2026-1356437.5HighUnauthenticated attackers can extract sensitive database information via time-based SQL injection. They only need to send a crafted HTTP header to the web server.
- CVE-2026-1318417.5HighUnauthenticated attackers can extract sensitive database information via time-based SQL injection. This is possible because the plugin's REST API endpoint lacks authentication and input sanitization.
- CVE-2026-1303198.8HighAuthenticated users with notebook edit permissions can execute arbitrary code on the server or read and write sensitive files. This occurs because several VQL plugins fail to verify required permissions before execution.
- CVE-2026-1113197.2HighUnauthenticated attackers can inject malicious scripts into forms that execute in the browsers of users viewing those pages. Attackers only need to access a page containing the form to obtain the required nonce and perform the injection.
- CVE-2026-1205697.4HighUnauthenticated attackers can hijack administrator sessions by triggering a scheduled product update. This requires the server to have a PHP configuration that allows response header modification during cron execution.