Description
The SSL Zen plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'uri' (and 'host') parameters in versions up to, and including, 4.7.42. The ssl_zen_messages::getMessages() function builds the 'token_missmatch' message using base64_decode(sanitize_text_field($_REQUEST['uri'])) and (optionally) base64_decode(sanitize_text_field($_REQUEST['host'])). sanitize_text_field() cannot strip HTML/JavaScript that is hidden inside a base64-encoded blob, and the resulting decoded raw HTML is echoed unescaped by showMessage() . This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a specially crafted link.
References6
- plugins.trac.wordpress.org/browser/ssl-zen/tags/4.7.14/ssl_zen/…
- plugins.trac.wordpress.org/browser/ssl-zen/tags/4.7.14/ssl_zen/…
- plugins.trac.wordpress.org/browser/ssl-zen/tags/4.7.42/ssl_zen/…
- plugins.trac.wordpress.org/browser/ssl-zen/tags/4.7.42/ssl_zen/…
- plugins.trac.wordpress.org/changeset?reponame=&old=3701590%40ss…
- www.wordfence.com/threat-intel/vulnerabilities/id/20816039-0b1c…
Metrics
- CVSS 3.1
-
6.1
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - EPSS — exploit probability
- 0% percentile: 20 · as of 9 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.