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

No advisories yet.

Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Wed, 02 Dec 2026 02:45:00 +0000

Type Values Removed Values Added
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.
Title WP-HTML-Compression <= 0.5.8 - Unauthenticated Stored Cross-Site Scripting via Comment Author URL and Comment Body Link
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 7.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-12-02T02:28:08.128Z

Reserved: 2026-11-24T21:08:41.977Z

Link: CVE-2026-136546

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-12-02T03:16:47.287

Modified: 2026-12-02T03:16:47.493

Link: CVE-2026-136546

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses