Description
The WP Allowed Hosts plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'allowed-hosts' parameter in all versions up to, and including, 1.0.8 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
| 2026-01-13: | Disclosed |
Credits
Bhumividh Treloges
References
www.wordfence.com/...-a178-4033-8607-652178860211?source=cve
plugins.trac.wordpress.org/...-hosts/trunk/allowed-hosts.php
plugins.trac.wordpress.org/...s/tags/1.0.8/allowed-hosts.php