Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconAttacker logs in with Author account
-
DeliveryNavigates to WP Custom HTML Page handler
-
ExploitSubmits custom page with embedded JavaScript
-
InstallPayload stored unescaped in WordPress database
-
C2Administrator visits public custom page URL
-
ExecuteMalicious script executes in admin browser
-
ImpactSession cookie or credentials exfiltrated to attacker
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the attacker to hold a WordPress Author-level account (or any higher role) on the target site - unauthenticated or subscriber-level users cannot inject payloads. The WP Custom HTML Page plugin must be installed and active on the WordPress installation; this vulnerability does not exist in WordPress core. The vulnerable code path is triggered through the plugin's custom page handler under default plugin configuration - no special plugin settings are required to expose the flaw. Execution of the stored payload is triggered when any user (authenticated or anonymous) visits the published custom page URL in a browser (UI:R). Sites that grant the Author role exclusively to fully trusted internal staff, sites that have not installed this plugin, or sites running an unaffected version (if one becomes available) are not exposed. The attack does not require network positioning, man-in-the-middle capability, or any race condition. |
| Impact | The CVSS 3.1 score of 5.4 Medium (AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N) accurately reflects the core risk profile: low attack complexity, network-reachable, but gated by both an Author account requirement (PR:L) and a victim page visit (UI:R). The real-world risk is meaningfully elevated beyond the raw score by three compounding factors: (1) stored XSS with a stable public URL means every site visitor - including admins performing content review - is a potential victim without any targeted delivery effort; (2) a publicly available exploit is catalogued by WPScan, lowering attacker skill threshold; and (3) successful exploitation against an administrator session can escalate to full WordPress site compromise. EPSS at 0.15% (5th percentile) and absence from CISA KEV temper urgency, suggesting the plugin's limited deployment footprint constrains opportunistic scanning. The primary practical limiter is the need for an existing Author account, restricting exposure to multi-author WordPress installations with untrusted contributors. No CVSS signal conflicts are observed; AV:N is appropriate given the public delivery URL. |
| Exploit ScenarioDerived | An attacker holding a WordPress Author account on a multi-contributor site uses the WP Custom HTML Page plugin's unsanitized handler to create a custom page embedding a JavaScript payload that exfiltrates document.cookie to an attacker-controlled endpoint. The page is published at a public URL; when an administrator performs routine content review by visiting the page, the script silently captures the admin session cookie, granting the attacker authenticated access to the WordPress admin panel. A proof-of-concept exploit is publicly documented by WPScan, meaning this scenario requires no advanced technique to execute. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 05, 2026
Stored XSS in the WP Custom HTML Page WordPress plugin (≤0.6.2) enables users with the Author role to persist arbitrary JavaScript via an unsanitized custom page handler, which then executes for every visitor - including administrators - at a publicly accessible URL. The plugin fails both to sanitize HTML input and to enforce WordPress's native unfiltered_html capability restriction, effectively granting Author-level users a privilege they should not have. A publicly available exploit is documented by WPScan; EPSS (0.15%, 5th percentile) indicates no observed widespread opportunistic exploitation, though the public-URL delivery mechanism means admin-targeted attacks require no active phishing.
RemediationAI
No vendor-released patch with a confirmed fix version has been identified - the CPE vendor field is 'unknown,' suggesting the plugin may be unmaintained or the developer has not yet issued a corrected release. Site administrators should immediately deactivate and uninstall the WP Custom HTML Page plugin until a patched version is confirmed available. As an interim compensating control, revoke the Author role from any untrusted users who do not require it; this eliminates the privilege prerequisite entirely. Administrators should audit all existing custom HTML pages created by Author-level users for embedded script content and remove any suspicious entries from the database. Enabling a Web Application Firewall (WAF) rule targeting stored XSS patterns can detect exploitation attempts but will not prevent storage of malicious content server-side. Monitor the WPScan advisory at https://wpscan.com/vulnerability/cda6b957-2013-4707-a5b5-5ddc04be2f6a/ for patch availability updates.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The WP Custom HTML Page plugin (CPE: cpe:2.3:a:unknown:wp_custom_html_page:*:*:*:*:*:*:*:*) through version 0.6.2 implements a custom page handler that accepts and stores raw HTML without applying WordPress's standard wp_kses sanitization or checking the unfiltered_html capability (CWE-79: Improper Neutralization of Input During Web Page Generation - Stored XSS). WordPress core restricts the ability to post unfiltered HTML to users with the Editor role or above; the Author role explicitly lacks this capability. The plugin bypasses this gatekeeping entirely, allowing Authors to store script tags that are then rendered verbatim in HTTP responses. Because the output URL is public and unauthenticated, the JavaScript payload executes in the browser of any visitor, crossing from the server context into the browser's execution environment - matching the changed-scope indicator (S:C) in the CVSS vector.
Know when Wp Custom Html Page gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Author account required (PR:L), victim must visit page (UI:R), XSS crosses into browser execution context (S:C); no server-side availability impact.
Primary rating from Vendor (WPScan).
CVSS VectorVendor: WPScan
Lifecycle Timeline
2DescriptionCVE.org
The WP Custom HTML Page WordPress plugin through 0.6.2 does not sanitise HTML stored through one of its custom page handlers, nor restrict it to users allowed to post unfiltered HTML, allowing users with the Author role to store JavaScript that is served unescaped at a public URL and executes for any visitor, including administrators.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-53111
GHSA-34jf-wc5v-9rcm
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB