What the vulnerability does
01Description
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.
Explanation of Vulnerability in Simple Terms
02Summary
WP Allowed Hosts versions 1.0.8 and earlier contain a cross-site scripting (XSS) vulnerability. An authenticated administrator with high privileges can inject malicious scripts that execute in other users' browsers when they view affected pages. The vulnerability requires specific conditions to exploit and has limited scope, but can compromise site integrity and user data.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers to steal data or perform actions on their behalf.
Potential impact on your site
04Site Impact
Administrators could be tricked into injecting malicious code that affects other site users and administrators.
Conditions required to exploit
05Prerequisites
Attacker must be an authenticated administrator with high privileges; no user interaction required from victims.
Key dates
06Disclosure timeline
January 14, 2026
CVE published
April 8, 2026
Record updated