Custom Post Type UI CVE-2025-14056
MEDIUMAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as WordPress Administrator
-
DeliveryImport custom post type with crafted 'label' payload
-
ExploitMalicious script stored unsanitized in plugin data
-
ExecutionVictim opens Tools Get Code page
-
ImpactScript executes in victim's admin session
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an authenticated Administrator-level account (PR:H) on a site running Custom Post Type UI ≤1.18.1, use of the plugin's custom post type import feature with a malicious payload placed in the 'label' parameter, and a user subsequently visiting the Tools → Get Code admin page for the payload to fire. Limiting factors: the Administrator privilege requirement sharply narrows the realistic threat model (an admin already has broad script-injection capability in default WordPress), high attack complexity (AC:H) is involved, and impact is confined to script execution in an admin user's browser session. The flaw is most meaningful in multisite or privilege-restricted environments where Administrator capabilities like unfiltered_html are limited. |
| Impact | This is a low-priority, high-barrier issue despite the 'medium' CVSS 4.4 score. The CVSS vector itself tells the real story: AV:N but AC:H (high complexity) and critically PR:H - exploitation requires existing Administrator-level access. In WordPress, an Administrator can already inject arbitrary scripts and PHP through many legitimate mechanisms (theme/plugin editors, unfiltered_html, custom code), so a stored XSS reachable only by an admin crafting a malicious import adds little real-world attacker capability; it is primarily relevant to multisite or hardened/least-privilege deployments where Administrators are deliberately restricted. The supporting signals are consistent and all point low: EPSS is 0.29% (20th percentile), there is no CISA KEV listing, and no public exploit was identified. The S:C/C:L/I:L reflects script execution in another user's browser session with limited impact. No signals conflict - every indicator (low EPSS, no KEV, no POC, high privilege requirement) agrees this is a low real-world risk that should be patched during routine maintenance rather than treated as urgent. One caveat: the fix version (1.18.2) is inferred from the GitHub PR diff rather than an explicit vendor advisory field in the input. |
| Exploit ScenarioDerived | An attacker who already holds (or compromises) an Administrator account imports a custom post type definition containing a malicious script in the 'label' parameter. The payload is stored unsanitized and later executes in the browser of any user who opens the Tools → Get Code page, within that user's authenticated admin session. No public exploit code was identified, and the high privilege requirement plus high attack complexity make opportunistic exploitation unlikely. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 07, 2026
Stored cross-site scripting in the Custom Post Type UI WordPress plugin (all versions up to and including 1.18.1) lets an authenticated attacker with Administrator-level access inject arbitrary JavaScript through the 'label' parameter of the custom post type import feature, which then executes when any user opens the Tools → Get Code admin page. Exploitation requires an Administrator account, use of the import workflow with a crafted payload, and a subsequent visit to the affected admin page, which is why the assessed vector carries PR:H and AC:H despite the network attack path; there is no public exploit identified at time of analysis and EPSS is a low 0.29% (20th percentile), with no CISA KEV listing. Upstream fix is available in version 1.18.2 per the vendor pull request that bumps CPTUI_VERSION from 1.18.1 to 1.18.2, and the practical risk is concentrated in multisite or capability-restricted setups where Administrator roles lack unfiltered_html.
RemediationAI
The primary fix is to update Custom Post Type UI to version 1.18.2 or later - the upstream pull request (https://github.com/WebDevStudios/custom-post-type-ui/pull/1014/files) bumps CPT_VERSION and CPTUI_VERSION from 1.18.1 to 1.18.2, confirming 1.18.2 as the patched release, and the vendor advisory is at https://www.wordfence.com/threat-intel/vulnerabilities/id/890c743e-da5e-46ed-a011-cecd24778163?source=cve. Where immediate upgrading is not possible, remove or deactivate the plugin entirely (the trade-off being loss of the CPT/Taxonomy export, import, and Get Code tooling), and in the meantime do not import custom post type or taxonomy definitions from untrusted or user-supplied sources, since the payload is delivered through the 'label' parameter of the import workflow. Additional compensating controls: audit and minimize the number of Administrator accounts and strip the unfiltered_html capability in multisite or hardened installs (trade-off: legitimate admins can no longer embed raw HTML), and restrict access to the wp-admin tools area via IP allowlisting or a security plugin (trade-off: operational friction for legitimate administrators). Because exploitation requires Administrator privileges, credential hygiene and review of any recently imported CPT/Taxonomy JSON for unexpected markup in label fields are also worthwhile; there is no indication of active exploitation, so these steps can be scheduled as routine maintenance.
Affected ProductsAI
The Custom Post Type UI plugin for WordPress is affected in all versions up to and including 1.18.1, across both single-site and multisite installations; no CPE identifiers were provided, so the affected component is identified by plugin slug and version boundary. WordPress core is not itself vulnerable - the flaw lives in the plugin's import handling and its tools rendering, as confirmed by the code references at plugins.trac.wordpress.org/browser/custom-post-type-ui/tags/1.18.1/inc/tools-sections/tools-post-types.php#L201 and the corresponding trunk path, plus the fix diff in https://github.com/WebDevStudios/custom-post-type-ui/pull/1014/files. The authoritative vendor write-up is available at https://www.wordfence.com/threat-intel/vulnerabilities/id/890c743e-da5e-46ed-a011-cecd24778163?source=cve. Version 1.18.2 is the first release containing the fix.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability is a classic CWE-79 improper neutralization of input during web page generation - specifically a stored/persistent XSS arising from insufficient sanitization of imported data combined with missing output escaping. Custom Post Type UI allows administrators to export and import custom post type and taxonomy definitions, typically as JSON; the 'label' field of an imported definition is persisted and then rendered unescaped in the plugin's tools section at inc/tools-sections/tools-post-types.php (line 201), the same file path visible in both the 1.18.1 tag and trunk listings. When a user views Tools → Get Code, the injected markup is emitted into the admin page context, so the attacker's script runs in that user's browser session with the privileges of the WordPress admin area. The CVSS:3.1 vector AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N reflects a network-reachable flaw that nevertheless demands high privileges (Administrator) and high attack complexity, with scope changed (S:C) because the injected script executes in a context beyond the vulnerable component's own security authority - the surrounding WordPress admin session. Impact is limited to low confidentiality and integrity effects (C:L/I:L) with no availability impact, consistent with script execution in a privileged admin browser rather than server-side compromise. The corresponding fix in PR #1014 accompanies a version bump to 1.18.2, indicating the maintainers addressed the escaping/sanitization path upstream. No CPE strings were supplied, so the affected surface is identified by plugin slug and version range rather than by a formal CPE.
Know when Wordpress Plugin gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
Stored XSS requires Administrator access (PR:H) via a non-trivial import flow (AC:H); payload executing in another user's browser session yields scope change (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
NVD
CVE.org
EPSS
GitHub
Exploit-DB