The WP-HTML-Compression plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'url
Source GCVE Database
Not known to be exploited · CVSS 7.2 High.
Data as of 2 Dec 2026, 04:30 UTC
Thin evidence
One scorer or none| CNA (Wordfence) | CVSS 3.1 | 7.2 |
|---|
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 1 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| promethWP-HTML-Compression | Affected
| Fixed in– |
AI-suggested
Users should review and restrict comment approval workflows to prevent untrusted comments from being approved automatically. Monitor vendor advisories for official patches or updates addressing this vulnerability. Until a fix is available, disabling or removing the WP-HTML-Compression plugin may be considered to mitigate risk.
Description
The WP-HTML-Compression plugin for WordPress up to version 0.5.8 is vulnerable to stored cross-site scripting (XSS) via the 'url (comment_author_url) and anchor href inside comment' parameter. The vulnerability arises from insufficient input sanitization and output escaping, allowing unauthenticated attackers to inject malicious scripts that execute when users view the affected pages. Exploitation requires prior approval of an attacker's comment, typically involving an administrator approving one comment before subsequent malicious comments are auto-approved.
References
- nvd.nist.gov/vuln/detail/CVE-2026-136546 (opens in a new tab)
- plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/html-minify.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/html-minify.php (opens in a new tab)
- plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/wp-html-compression.php (opens in a new tab)
- wordfence.com/threat-intel/vulnerabilities/id/106f750e-2416-4bc3-ab2c-7fedb4c99b67?source=cve (opens in a new tab)