CVE-2026-136546 PUBLISHED

WP-HTML-Compression <= 0.5.8 - Unauthenticated Stored Cross-Site Scripting via Comment Author URL and Comment Body Link

Assigner: Wordfence
Reserved: 24.11.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
CVSS Score: 7.2

Product Status

Vendor prometh
Product WP-HTML-Compression
Versions Default: unaffected
  • affected from 0 to 0.5.8 (incl.)

Credits

  • Santh finder

References

Problem Types

  • CWE-79 Improper Neutralization of Input During Web Page Generation CWE