Skip to main content
EPSS 0.1%top 97%

CVE-2026-16942: CWE-79 Cross-Site Scripting (XSS) in WP Custom HTML Page

0
Medium
VulnerabilityCVE-2026-16942cvecve-2026-16942cwe-79
Published: 08/05/2026 (08/05/2026, 06:00:10 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected software

WP Custom HTML Page

Affected versions
>=0 <=0.6.2

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/12/2026, 15:34:23 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses