Skip to main content

WP Custom HTML Page EUVDEUVD-2026-53111

| CVE-2026-16942 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-08-05 WPScan GHSA-34jf-wc5v-9rcm
5.4
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Attacker logs in with Author account
  2. Delivery
    Navigates to WP Custom HTML Page handler
  3. Exploit
    Submits custom page with embedded JavaScript
  4. Install
    Payload stored unescaped in WordPress database
  5. C2
    Administrator visits public custom page URL
  6. Execute
    Malicious script executes in admin browser
  7. Impact
    Session 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

WP Custom HTML Page 0 ≤0.6.2

Affected Packages

euvd wp_custom_html_page no fix

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

Vendor (WPScan) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 5.4 MEDIUM

Author account required (PR:L), victim must visit page (UI:R), XSS crosses into browser execution context (S:C); no server-side availability impact.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVE Published
Aug 05, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)
CVE Published
Aug 05, 2026 - 06:00 cve.org
MEDIUM 5.4

DescriptionCVE.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

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Low
niche WordPress plugin with unknown vendor attribution
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

47
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy