Post Type Switcher Security & Risk Analysis

wordpress.org/plugins/post-type-switcher

A simple way to change a post's type in WordPress

200K active installs v4.0.1 PHP 8.0+ WP 6.2+ Updated Nov 7, 2025
pagepostpost-typetypetypes
99
A · Safe
CVEs total1
Unpatched0
Last CVENov 17, 2025
Safety Verdict

Is Post Type Switcher Safe to Use in 2026?

Generally Safe

Score 99/100

Post Type Switcher has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Nov 17, 2025Updated 4mo ago
Risk Assessment

The post-type-switcher v4.0.1 plugin exhibits a generally strong security posture based on the provided static analysis. The absence of dangerous functions, file operations, external HTTP requests, and the extensive use of prepared statements for SQL queries are positive indicators. Furthermore, the high percentage of properly escaped output and the presence of both nonce and capability checks on its single AJAX entry point demonstrate good development practices for input validation and authorization.

However, a notable concern arises from its vulnerability history. The plugin has a past medium-severity vulnerability related to 'Authorization Bypass Through User-Controlled Key', indicating a potential for authorization flaws. While currently unpatched CVEs are zero, this historical pattern suggests that past security oversights have occurred, and ongoing vigilance is necessary. The single AJAX entry point, while protected by checks, still represents a potential attack vector if any flaws in those checks were to be discovered.

In conclusion, post-type-switcher v4.0.1 appears to be well-coded with a limited attack surface and robust input sanitization and authorization mechanisms. The main weakness lies in its past vulnerability, specifically an authorization bypass, which warrants attention. Despite this, the current analysis does not reveal any critical static or taint analysis issues, leading to a cautiously optimistic assessment.

Key Concerns

  • Past medium severity vulnerability (Auth Bypass)
Vulnerabilities
1

Post Type Switcher Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-12524medium · 5.4Authorization Bypass Through User-Controlled Key

Post Type Switcher <= 4.0.0 - Insecure Direct Object Reference to Authenticated (Author+) Post Type Change

Nov 17, 2025 Patched in 4.0.1 (1d)
Code Analysis
Analyzed Mar 16, 2026

Post Type Switcher Code Analysis

Dangerous Functions
0
Raw SQL Queries
0
4 prepared
Unescaped Output
2
19 escaped
Nonce Checks
2
Capability Checks
9
File Operations
0
External Requests
0
Bundled Libraries
0

SQL Query Safety

100% prepared4 total queries

Output Escaping

90% escaped21 total outputs
Data Flows
All sanitized

Data Flow Analysis

1 flows
<post-type-switcher> (post-type-switcher.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Post Type Switcher Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_post_type_switcherpost-type-switcher.php:118
WordPress Hooks 13
actioninitpost-type-switcher.php:51
actionadmin_initpost-type-switcher.php:65
actionadmin_initpost-type-switcher.php:66
filterdefault_hidden_columnspost-type-switcher.php:105
actionadmin_headpost-type-switcher.php:108
actionpost_submitbox_misc_actionspost-type-switcher.php:109
actionquick_edit_custom_boxpost-type-switcher.php:110
actionbulk_edit_custom_boxpost-type-switcher.php:111
actionadmin_enqueue_scriptspost-type-switcher.php:112
actionenqueue_block_editor_assetspost-type-switcher.php:115
filterwp_insert_attachment_datapost-type-switcher.php:121
filterwp_insert_post_datapost-type-switcher.php:122
actionpost_type_after_switchpost-type-switcher.php:125
Maintenance & Trust

Post Type Switcher Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedNov 7, 2025
PHP min version8.0
Downloads2.3M

Community Trust

Rating94/100
Number of ratings253
Active installs200K
Developer Profile

Post Type Switcher Developer Profile

John James Jacoby

28 plugins · 332K total installs

70
trust score
Avg Security Score
87/100
Avg Patch Time
1401 days
View full developer profile
Detection Fingerprints

How We Detect Post Type Switcher

Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.

Asset Fingerprints

Asset Paths
/wp-content/plugins/post-type-switcher/build/admin.js/wp-content/plugins/post-type-switcher/build/admin.css/wp-content/plugins/post-type-switcher/build/frontend.js/wp-content/plugins/post-type-switcher/build/frontend.css
Script Paths
/wp-content/plugins/post-type-switcher/build/admin.js/wp-content/plugins/post-type-switcher/build/frontend.js
Version Parameters
post-type-switcher/build/admin.css?ver=post-type-switcher/build/admin.js?ver=post-type-switcher/build/frontend.css?ver=post-type-switcher/build/frontend.js?ver=

HTML / DOM Fingerprints

CSS Classes
post-type-switcherpts-quick-edit-fieldpts-bulk-edit-field
HTML Comments
<!-- Sponsor --><!-- Bail if page not allowed --><!-- Add column for quick-edit support --><!-- Default to "post_type" column being hidden -->+16 more
Data Attributes
data-post-typedata-pts-post-typedata-pts-post-iddata-pts-post-nonce
JS Globals
pts_admin_paramspts_editor_paramspts_bulk_edit_params
FAQ

Frequently Asked Questions about Post Type Switcher