# CVE-2026-136546: WP-HTML-Compression <= 0.5.8 - Unauthenticated Stored Cross-Site Scripting via Comment Author URL and Comment Body Link

- Severity: High 7.2 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-12-02T02:28:08.128Z
- Modified: 2026-12-02T03:16:47.493Z
- Weaknesses: CWE-79
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- prometh WP-HTML-Compression: up to 0.5.8

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/106f750e-2416-4bc3-ab2c-7fedb4c99b67?source=cve>
- <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/absolute-to-relative-urls.php#L139>
- <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>

## Sources

- CVE List: [CVE-2026-136546](https://www.cve.org/CVERecord?id=CVE-2026-136546), CVE Terms of Use, modified 2026-12-02
- NVD: [CVE-2026-136546](https://nvd.nist.gov/vuln/detail/CVE-2026-136546), Public domain, modified 2026-12-02

---

Page: https://cve.day/CVE-2026-136546 · Whole record: https://cve.day/CVE-2026-136546.json · Rebuilt by cve.day 2026-12-02T03:17:33.095Z
