Description
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.
Problem types
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Product status
* (semver)
Timeline
| 2025-12-04: | Vendor Notified |
| 2025-12-12: | Disclosed |
Credits
M Indra Purnama
References
www.wordfence.com/...-da5e-46ed-a011-cecd24778163?source=cve
plugins.trac.wordpress.org/...-sections/tools-post-types.php
plugins.trac.wordpress.org/...-sections/tools-post-types.php
github.com/WebDevStudios/custom-post-type-ui/pull/1014/files
Data based on CVE®. Copyright © 1999-2025, The MITRE Corporation. All rights reserved.