Skip to main content

Custom Post Type UI CVE-2025-14056

MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2025-12-13 security@wordfence.com
4.4
CVSS 3.1 · Vendor: wordfence
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as WordPress Administrator
  2. Delivery
    Import custom post type with crafted 'label' payload
  3. Exploit
    Malicious script stored unsanitized in plugin data
  4. Execution
    Victim opens Tools Get Code page
  5. Impact
    Script 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Vendor (wordfence) PRIMARY 4.4 MEDIUM
AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 4.4 MEDIUM

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.

3.1 AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:H/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (wordfence).

CVSS VectorVendor: wordfence

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
High
Custom Post Type UI is a very widely deployed WordPress plugin (1M+ installs)
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy