Post Types Image Sizes Security & Risk Analysis

wordpress.org/plugins/post-types-image-sizes

Specify the image size for each type of post

10 active installs v1.2 PHP + WP 4.0+ Updated Jan 22, 2017
custom-post-typeimage-sizepagepostpost-type
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Post Types Image Sizes Safe to Use in 2026?

Generally Safe

Score 85/100

Post Types Image Sizes has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The "post-types-image-sizes" plugin v1.2 exhibits a seemingly robust security posture at first glance, with no reported CVEs and a complete absence of external attack vectors such as AJAX handlers, REST API routes, shortcodes, or cron events. The code analysis also indicates a lack of dangerous functions and no direct external HTTP requests. Furthermore, all observed SQL queries utilize prepared statements, which is a significant security positive. However, a critical concern emerges from the static analysis regarding output escaping. With 100% of observed outputs not being properly escaped, this presents a significant risk of cross-site scripting (XSS) vulnerabilities. The taint analysis, which revealed two flows with unsanitized paths, further corroborates this risk, indicating that user-controlled data could potentially be injected into the output without proper sanitization. The absence of any recorded vulnerability history is encouraging, but it does not negate the clear and present danger of unescaped output and unsanitized data flows discovered in the static analysis.

Key Concerns

  • All observed outputs are unescaped
  • Taint flows with unsanitized paths found
Vulnerabilities
None known

Post Types Image Sizes Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Code Analysis
Analyzed Mar 17, 2026

Post Types Image Sizes Code Analysis

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

Output Escaping

0% escaped2 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
settings_page (ptis.php:86)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Post Types Image Sizes Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 4
actionadmin_initptis.php:25
actionadmin_menuptis.php:26
actionactivated_pluginptis.php:27
filterintermediate_image_sizesptis.php:28
Maintenance & Trust

Post Types Image Sizes Maintenance & Trust

Maintenance Signals

WordPress version tested4.6.30
Last updatedJan 22, 2017
PHP min version
Downloads2K

Community Trust

Rating100/100
Number of ratings2
Active installs10
Developer Profile

Post Types Image Sizes Developer Profile

Parsa

4 plugins · 120 total installs

84
trust score
Avg Security Score
85/100
Avg Patch Time
30 days
View full developer profile
Detection Fingerprints

How We Detect Post Types Image Sizes

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
ptis_wrap
Data Attributes
name="ptype[name="ptype_image[class="post_type_chk"
JS Globals
jQuery
FAQ

Frequently Asked Questions about Post Types Image Sizes