CVE-2026-16942: CWE-79 Cross-Site Scripting (XSS) in WP Custom HTML Page
CVE-2026-16942 is a cross-site scripting (XSS) vulnerability in the WP Custom HTML Page WordPress plugin up to version 0.6.2. It allows users with the Author role to store JavaScript code that is served unescaped on a public URL, potentially executing in the browsers of any visitors, including administrators. This occurs because the plugin does not sanitize HTML input nor restrict it to users allowed to post unfiltered HTML.
AI Analysis
Technical Summary
The WP Custom HTML Page WordPress plugin through version 0.6.2 does not sanitize HTML stored via one of its custom page handlers and fails to restrict this capability to users permitted to post unfiltered HTML. Consequently, users with the Author role can inject JavaScript that is served unescaped at a public URL, leading to cross-site scripting (CWE-79). This vulnerability can result in script execution in the context of any visitor, including administrators.
Potential Impact
An attacker with Author role privileges can inject malicious JavaScript code that executes in the browsers of visitors to the affected page, potentially leading to session hijacking, privilege escalation, or other attacks that rely on executing script in the context of the vulnerable site. The CVSS score of 5.4 (medium severity) reflects the network attack vector, low attack complexity, and limited privileges required, with impacts on confidentiality and integrity but no availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Author role users from accessing the vulnerable functionality or disable the WP Custom HTML Page plugin if possible. Avoid granting unfiltered HTML posting capabilities to users with limited trust.
CVE-2026-16942: CWE-79 Cross-Site Scripting (XSS) in WP Custom HTML Page
Description
CVE-2026-16942 is a cross-site scripting (XSS) vulnerability in the WP Custom HTML Page WordPress plugin up to version 0.6.2. It allows users with the Author role to store JavaScript code that is served unescaped on a public URL, potentially executing in the browsers of any visitors, including administrators. This occurs because the plugin does not sanitize HTML input nor restrict it to users allowed to post unfiltered HTML.
CVSS v3.1
Score 5.4medium
Affected software
WP Custom HTML Page
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The WP Custom HTML Page WordPress plugin through version 0.6.2 does not sanitize HTML stored via one of its custom page handlers and fails to restrict this capability to users permitted to post unfiltered HTML. Consequently, users with the Author role can inject JavaScript that is served unescaped at a public URL, leading to cross-site scripting (CWE-79). This vulnerability can result in script execution in the context of any visitor, including administrators.
Potential Impact
An attacker with Author role privileges can inject malicious JavaScript code that executes in the browsers of visitors to the affected page, potentially leading to session hijacking, privilege escalation, or other attacks that rely on executing script in the context of the vulnerable site. The CVSS score of 5.4 (medium severity) reflects the network attack vector, low attack complexity, and limited privileges required, with impacts on confidentiality and integrity but no availability impact.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict Author role users from accessing the vulnerable functionality or disable the WP Custom HTML Page plugin if possible. Avoid granting unfiltered HTML posting capabilities to users with limited trust.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- WPScan
- Date Reserved
- 2026-07-24T07:54:34.768Z
- State
- PUBLISHED
Threat ID: 6a72d7aebf8831d5395e82c8
Added to database: 08/05/2026, 06:26:54 UTC
Last enriched: 08/12/2026, 15:34:23 UTC
Last updated: 09/17/2026, 22:01:33 UTC
Views: 22
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.