Attach Post Images Security & Risk Analysis

wordpress.org/plugins/attach-post-images

Attach images to posts (independent of post content) and control post images display.

100 active installs v1.0.1 PHP + WP 3.5+ Updated Mar 9, 2014
attach-imagesattach-images-to-postpost-imagespostswidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Attach Post Images Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 12yr ago
Risk Assessment

The 'attach-post-images' plugin version 1.0.1 exhibits a generally strong security posture based on the provided static analysis. The absence of AJAX handlers, REST API routes, cron events, and external HTTP requests significantly limits the attack surface. Furthermore, the code demonstrates good security practices by utilizing prepared statements for all SQL queries, implementing nonce checks, and performing capability checks on its entry points. The fact that there are no known vulnerabilities or CVEs associated with this plugin further reinforces its current security standing.

However, there is a notable concern regarding output escaping. With only 17% of the 6 total outputs properly escaped, there is a significant risk of Cross-Site Scripting (XSS) vulnerabilities. Any data displayed to users that is not properly escaped could be manipulated by an attacker to inject malicious scripts, potentially leading to session hijacking or other harmful actions. While the taint analysis shows no critical or high severity flows, the lack of robust output escaping is a weakness that needs immediate attention. The vulnerability history indicates a clean record, suggesting the developers are either diligent or the plugin hasn't been extensively targeted. Nevertheless, the output escaping issue remains a critical point to address.

Key Concerns

  • Low output escaping rate
Vulnerabilities
None known

Attach Post Images Security Vulnerabilities

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

Attach Post Images Code Analysis

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

Output Escaping

17% escaped6 total outputs
Attack Surface

Attach Post Images Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[twp_post_images] class.php:45
WordPress Hooks 3
actionadmin_enqueue_scriptsclass.php:42
actionadd_meta_boxesclass.php:43
actionsave_postclass.php:44
Maintenance & Trust

Attach Post Images Maintenance & Trust

Maintenance Signals

WordPress version tested3.7.41
Last updatedMar 9, 2014
PHP min version
Downloads4K

Community Trust

Rating0/100
Number of ratings0
Active installs100
Developer Profile

Attach Post Images Developer Profile

Cyril

2 plugins · 300 total installs

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

How We Detect Attach Post Images

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/attach-post-images/application.js/wp-content/plugins/attach-post-images/styles.css
Script Paths
/wp-content/plugins/attach-post-images/application.js
Version Parameters
attach-post-images/application.js?ver=attach-post-images/styles.css?ver=

HTML / DOM Fingerprints

CSS Classes
twp-post-imagetwp-post-image-itemtwp-post-image-item-twp-attach-post-images
Data Attributes
id="twp-post-image-class="twp-post-image"
JS Globals
twp-attach-post-pages-js
Shortcode Output
<ul class="twp-post-image<li class="twp-post-image-item
FAQ

Frequently Asked Questions about Attach Post Images