CVE-2026-136546
WP-HTML-Compression <= 0.5.8 - Unauthenticated Stored Cross-Site Scripting via Comment Author URL and Comment Body Link
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- changed: the damage reaches other components, such as the host of a container or other users
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Weakness
- CWE-79 Improper Neutralization of Input During Web Page Generation
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| WP-HTML-Compression |
affected up to and including 0.5.8
Other versions: unaffected
|
Is my server affected?
This CVE is in WP-HTML-Compression of prometh, which Linux distributions and language package managers do not ship. The advisory of the vendor is in the references below.
Vulnpocalypse matches the package lists of Linux servers and containers against the Trivy vulnerability database, which does not list this product.
References
Other references
- https://www.wordfence.com/threat-intel/vulnerabilities/id/106f750e-2416-4bc3-ab2c-7fedb4c99b67?source=cve wordfence.com
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php#L310 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php#L350 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/html-minify.php#L186 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/absolute-to-relative-urls.php#L139 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/libs/html-minify.php#L68 plugins.trac.wordpress.org
- https://plugins.trac.wordpress.org/browser/wp-html-compression/tags/0.5.8/wp-html-compression.php#L31 plugins.trac.wordpress.org
Source: the record CVE-2026-136546 of the CVE List (CVE Program), CVE Terms of Use; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse