Email Encoder <= 2.5.5 - Unauthenticated Stored Cross-Site Scripting via Protected Link href Attribute
- ID
- WPSEC-2026-3824
- Plugin
- Email Encoder – Protect Email Addresses and Phone Numbers (email-encoder-bundle)
- Affected
- from 2.0.0 before 2.5.6
- Remediation
- Update to 2.5.6 or later.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:L/A:N
- Weakness
- CWE-79
- Usage
- Plugin Medium · Affected versions Medium among sites WPSec scans, 2026-11-24
- Attack surface
- Email Encoder on WPSec AttackSurface
- Fix released
- Published
Description
The Email Encoder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the href attribute of protected mailto links and custom protected links (such as 'tel') in all versions up to, and including, 2.5.5, due to insufficient output escaping. The plugin parsed link attributes with shortcode_parse_atts(), which turns backslash escape sequences such as \x22 into real quotes, and then put the href value into a double-quoted attribute after only obfuscating it with antispambot(). This makes it possible for unauthenticated attackers to inject arbitrary web scripts, for example through links in comments, that execute whenever a user accesses an injected page. Exploitation requires the 'Automatic (no JavaScript)' protection method or a value such as 'tel' in the 'Protect custom href attributes' setting.
References
- https://wpsec.com/vuln/WPSEC-2026-3824/
- https://plugins.svn.wordpress.org/email-encoder-bundle/tags/2.5.6/
- https://wordpress.org/plugins/email-encoder-bundle/
Published by WPSec. Provided as is, without warranty. Corrections: contact us.
This advisory as JSON, OSV or Markdown · All advisories: JSON, OSV, RSS