Disable Attachment Pages Security & Risk Analysis

wordpress.org/plugins/disable-attachment-pages

Redirects attachment pages to the post, where they are placed, and hides backend option to link images to attachment page (if not default).

400 active installs v1.1 PHP + WP 4.0+ Updated Mar 3, 2019
attachmentattachmentsimagesredirect
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Download
Safety Verdict

Is Disable Attachment Pages Safe to Use in 2026?

Generally Safe

Score 85/100

Disable Attachment Pages has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 7yr ago
Risk Assessment

The "disable-attachment-pages" plugin version 1.1 exhibits a strong security posture based on the provided static analysis and vulnerability history. The absence of any identified AJAX handlers, REST API routes, shortcodes, or cron events significantly limits the plugin's attack surface. Furthermore, the analysis indicates no dangerous functions are used, all SQL queries utilize prepared statements, and there are no file operations or external HTTP requests. This suggests a plugin that is designed with security in mind, avoiding common vulnerabilities.

However, a notable concern arises from the output escaping analysis, where 100% of the single output identified is not properly escaped. While the attack surface is minimal and no taint flows were detected, this lack of output escaping presents a potential risk. If this single output were to contain user-supplied or dynamic data, it could lead to cross-site scripting (XSS) vulnerabilities. The plugin's vulnerability history is clean, with no recorded CVEs, which is a positive indicator of its past security performance. Overall, the plugin is well-coded and has a clean history, but the unescaped output warrants attention to mitigate potential XSS risks.

Key Concerns

  • 100% of outputs are not properly escaped
Vulnerabilities
None known

Disable Attachment Pages Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Disable Attachment Pages Release Timeline

v1.1Current
v1.0
Code Analysis
Analyzed Mar 16, 2026

Disable Attachment Pages Code Analysis

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

Output Escaping

0% escaped1 total outputs
Attack Surface

Disable Attachment Pages Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 2
actiontemplate_redirectdisable-attachment-pages.php:11
actionadmin_headdisable-attachment-pages.php:31
Maintenance & Trust

Disable Attachment Pages Maintenance & Trust

Maintenance Signals

WordPress version tested5.1.22
Last updatedMar 3, 2019
PHP min version
Downloads7K

Community Trust

Rating100/100
Number of ratings2
Active installs400
Developer Profile

Disable Attachment Pages Developer Profile

greatestview

1 plugin · 400 total installs

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

How We Detect Disable Attachment Pages

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

Asset Fingerprints

Version Parameters
disable-attachment-pages/style.css?ver=1.1

HTML / DOM Fingerprints

CSS Classes
link-tocomponents-select-control__input
FAQ

Frequently Asked Questions about Disable Attachment Pages