---
id: CVE-2025-14056
title: >-
  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 ou…
summary: >-
  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 ou…
severity: medium
cvss: 4.4
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N'
cwe:
  - CWE-79
published: '2025-12-13'
updated: '2026-10-07'
sourceUpdated: '2026-10-07T20:10:01.970'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-14056'
references:
  - url: >-
      https://github.com/WebDevStudios/custom-post-type-ui/pull/1014/files#diff-bd3331205024f12a78d74b312bc4f5ad118b5734999bf53a4a95e0959891f60a
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/custom-post-type-ui/tags/1.18.1/inc/tools-sections/tools-post-types.php#L201
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/custom-post-type-ui/trunk/inc/tools-sections/tools-post-types.php#L201
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/890c743e-da5e-46ed-a011-cecd24778163?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00295
epssPercentile: 0.20204
ingestedAt: '2026-10-07T20:46:46.929Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
