Improper HTML Sanitization in WP Custom HTML Page Plugin from WordPress
CVE-2026-16942
Currently unrated
Key Information:
- Vendor
WordPress
- Status
- Vendor
- CVE Published:
- 5 August 2026
Badges
👾 Exploit Exists🟡 Public PoC
What is CVE-2026-16942?
The WP Custom HTML Page plugin up to version 0.6.2 fails to properly sanitize HTML inputs through its custom page handlers. This vulnerability allows users with an Author role to store unfiltered JavaScript, leading to potential execution of malicious scripts at public URLs when accessed by any visitor, including site administrators. The lack of access restrictions exacerbates the risk, making it essential for users to apply updates and review their plugin configurations to secure their sites.
Affected Version(s)
WP Custom HTML Page 0 <= 0.6.2
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.