Read the docs

Stored cross-site scripting in WP-HTML-Compression WordPress plugin

Priority MEDIUM 47CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
No fix listed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-79.

Summary

The WP-HTML-Compression plugin for WordPress is vulnerable in all versions up to and including 0.5.8. Missing input sanitization and output escaping of the comment author URL and comment links let unauthenticated attackers store scripts that run for visitors who open the affected pages (CWE-79). Under default discussion settings, an administrator must first approve one earlier comment from the attacker.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

Description from the CNA

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.

Why it matters now

Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
promethWP-HTML-Compressionup to 0.5.8—No fix listedCNA
  • WP-HTML-Compression Vendorprometh Affected up to 0.5.8 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for WP-HTML-Compression.

Written with Claude Haiku 5.5 from the sources below · 2026-12-02

Timeline

  1. 2026-12-02 Threatist record created from CVE-2026-136546
  2. 2026-12-02 Alias added: GHSA-p883-h5rm-3rgm

References

Sources