What the vulnerability does
01Description
The Custom Post Type UI plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'label' parameter during custom post type import in all versions up to, and including, 1.18.1 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with Administrator-level access, to inject arbitrary web scripts in pages that will execute whenever a user accesses the Tools → Get Code page.
Explanation of Vulnerability in Simple Terms
02Summary
Custom Post Type UI versions up to 1.18.1 contain a stored cross-site scripting (XSS) vulnerability. An authenticated administrator with high privileges can inject malicious scripts that execute in the browsers of other site users. The vulnerability has limited scope but can compromise site integrity and user sessions.
What an attacker can do
03Attacker Capabilities
Inject malicious scripts that run in other users' browsers when they view affected pages.
Potential impact on your site
04Site Impact
Administrators can be tricked into running malicious code; user sessions and site data may be compromised if scripts are crafted to steal credentials or modify content.
Conditions required to exploit
05Prerequisites
Attacker must be an authenticated administrator or high-privilege user; no user interaction required from victims.
Key dates
06Disclosure timeline
December 13, 2025
CVE published
April 8, 2026
Record updated