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 includ…
- CVSS
- 7.2High
- Chance of exploitation (EPSS)
- 0.49%
- Published
- Dec 2, 2026
- In the news
- Not yet
What to do
A serious cross-site scripting flaw in Prometh Wp-html-compression that can be attacked over the network without logging in. No attacks are reported yet; it can go in your normal patch cycle.
Action: Check the vendor's advisory in the references and apply updates as soon as they are available.
Affected versions
- Prometh Wp-html-compression
- Through 0.5.8
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.
Affected products
Get alerts for these →Timeline 1
Latest change: CVE-2026-136546 published (CVSS 7.2) (Dec 1, 2026)
News, advisories, exploit code, scanner detection and exploitation, newest first.
Wed, Dec 2, 2026
- CVECVE-2026-136546 published (CVSS 7.2)CVE Program · 03:16 UTC
References 7
- plugins.trac.wordpress.org /browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php#L139
- plugins.trac.wordpress.org /browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php#L310
- plugins.trac.wordpress.org /browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php#L350
- plugins.trac.wordpress.org /browser/wp-html-compression/tags/0.5.8/libs/html-minify.php#L186
- plugins.trac.wordpress.org /browser/wp-html-compression/tags/0.5.8/libs/html-minify.php#L68
- plugins.trac.wordpress.org /browser/wp-html-compression/tags/0.5.8/wp-html-compression.php#L31
- www.wordfence.com /threat-intel/vulnerabilities/id/106f750e-2416-4bc3-ab2c-7fedb4c99b67?source=cve