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.
Published: 2026-01-14
Score: 4.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Stored Cross‑Site Scripting (XSS) that can be triggered by authenticated administrators
Action: Patch
AI Analysis

Impact

The WP Allowed Hosts plugin for WordPress exhibits a stored cross‑site scripting vulnerability in the 'allowed-hosts' parameter. Because the input is not properly sanitized or escaped, an authenticated user with administrator privileges can embed arbitrary JavaScript into the list of allowed hosts. When a site visitor accesses a page that includes the injected host value, the script will execute in the visitor’s browser.

Affected Systems

This flaw is limited to WordPress multisite installations that use WP Allowed Hosts version 1.0.8 or earlier and have the 'unfiltered_html' capability disabled. Only these configurations allow the vulnerable code path to be exploited.

Risk and Exploitability

The vulnerability receives a CVSS score of 4.4, reflecting moderate severity, and the EPSS probability is reported as less than 1%, indicating a low likelihood of widespread exploitation. It is not listed in the CISA KEV catalog. An attacker must be authenticated with administrator rights and can exploit the flaw through the normal plugin configuration interface, making the attack vector remote and authenticated.

Generated by OpenCVE AI on April 16, 2026 at 18:08 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WP Allowed Hosts to a version newer than 1.0.8, if available.
  • If an upgrade is not possible, disable or remove the plugin to eliminate the vulnerable function.
  • Enable the 'unfiltered_html' option in the WordPress configuration to prevent the stored XSS from executing.
  • Implement a Content Security Policy that blocks inline scripts to reduce the impact of any residual cross‑site scripting.

Generated by OpenCVE AI on April 16, 2026 at 18:08 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 15 Jan 2026 08:15:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Vendors & Products Wordpress
Wordpress wordpress

Wed, 14 Jan 2026 21:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 14 Jan 2026 07:00:00 +0000

Type Values Removed Values Added
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.
Title WP Allowed Hosts <= 1.0.8 - Authenticated (Administrator+) Stored Cross-Site Scripting via 'allowed-hosts' Parameter
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 4.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-04-08T17:00:16.328Z

Reserved: 2026-01-08T15:47:56.926Z

Link: CVE-2026-0734

cve-icon Vulnrichment

Updated: 2026-01-14T21:00:58.488Z

cve-icon NVD

Status : Deferred

Published: 2026-01-14T07:16:15.303

Modified: 2026-04-15T00:35:42.020

Link: CVE-2026-0734

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-04-16T18:15:43Z

Weaknesses