
Custom Post Type Attachment Security & Risk Analysis
wordpress.org/plugins/custom-post-type-pdf-attachmentThis plugin will allow you to upload files to your post or pages or any other custom post types.
Is Custom Post Type Attachment Safe to Use in 2026?
Use With Caution
Score 69/100Custom Post Type Attachment has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.
The 'custom-post-type-pdf-attachment' plugin version 3.4.6 exhibits a mixed security posture. On the positive side, it demonstrates good practices with 100% of its SQL queries using prepared statements and includes nonce and capability checks on its entry points. There are no detected critical or high-severity taint flows, and the attack surface is relatively small with no immediately apparent unprotected entry points.
However, significant concerns arise from its vulnerability history. The plugin has a known history of two CVEs, with one still unpatched, and both historical vulnerabilities were of medium severity, related to Cross-site Scripting. This pattern suggests a recurring weakness in input sanitization or output escaping, despite the static analysis indicating a moderate percentage of properly escaped outputs (26%). The presence of unpatched vulnerabilities is a direct and critical risk to any WordPress site using this plugin.
In conclusion, while the plugin implements some fundamental security measures, the recurring medium-severity XSS vulnerabilities and the existence of an unpatched CVE significantly outweigh these strengths, making it a riskier choice for deployment. Users should be aware of the historical issues and the ongoing unpatched vulnerability.
Key Concerns
- Unpatched CVE found
- Medium severity vulnerabilities in history (XSS)
- Low percentage of properly escaped output
Custom Post Type Attachment Security Vulnerabilities
CVEs by Year
Severity Breakdown
2 total CVEs
Custom Post Type Attachment <= 3.4.6 - Authenticated (Contributor+) Stored Cross-Site Scripting
Custom Post Type Attachment <= 3.4.5 - Authenticated (Contributor+) Stored Cross-Site Scripting via pdf_attachment Shortcode
Custom Post Type Attachment Code Analysis
SQL Query Safety
Output Escaping
Data Flow Analysis
Custom Post Type Attachment Attack Surface
Shortcodes 2
WordPress Hooks 13
Maintenance & Trust
Custom Post Type Attachment Maintenance & Trust
Maintenance Signals
Community Trust
Custom Post Type Attachment Alternatives
MultiLine Files for Contact Form 7
multiline-files-for-contact-form-7
Upload unlimited files to Contact Form 7 with an intuitive interface, file management, and automatic ZIP compression for email delivery.
File Upload Types by WPForms
file-upload-types
Easily allow WordPress to accept and upload any file type extension or MIME type, including custom file types.
Download Attachments
download-attachments
Download Attachments is a new approach to managing downloads in WordPress. It allows you to easily add and display download links in any post or page.
Shared Files – Frontend File Upload Form & Secure File Sharing
shared-files
File management plugin featuring frontend file upload form, download manager, statistics and download log.
File Upload For WPForms – Filenzo
file-upload-for-wpforms
Enhance WPForms with a secure file upload field, allowing users to upload files directly through forms.
Custom Post Type Attachment Developer Profile
9 plugins · 8K total installs
How We Detect Custom Post Type Attachment
Patterns used to identify this plugin on WordPress sites during automated security audits and web crawling.
Asset Fingerprints
/wp-content/plugins/custom-post-type-pdf-attachment/css/style_admin.css/wp-content/plugins/custom-post-type-pdf-attachment/css/style_front.css/wp-content/plugins/custom-post-type-pdf-attachment/js/ap.cookie.js/wp-content/plugins/custom-post-type-pdf-attachment/js/ap-tabs.js/wp-content/plugins/custom-post-type-pdf-attachment/js/cpt.js/wp-content/plugins/custom-post-type-pdf-attachment/js/ap.cookie.js/wp-content/plugins/custom-post-type-pdf-attachment/js/ap-tabs.js/wp-content/plugins/custom-post-type-pdf-attachment/js/cpt.jscustom-post-type-pdf-attachment/css/style_admin.css?ver=custom-post-type-pdf-attachment/css/style_front.css?ver=custom-post-type-pdf-attachment/js/ap.cookie.js?ver=custom-post-type-pdf-attachment/js/ap-tabs.js?ver=custom-post-type-pdf-attachment/js/cpt.js?ver=HTML / DOM Fingerprints
<!-- older versions compatibility --><!-- security verification --><!-- delete file --><!-- file upload -->cpt_pdf_attachment_removecpt_pdf_attachment_mf_cpt_pdf_attachmentCPTA_PLUGIN_DIRcpta_use_media_library[pdf_attachment][pdf_all_attachments]