Media Post Permalink Security & Risk Analysis

wordpress.org/plugins/media-post-permalink

Media Post Permalink is simply the easiest solution to separate your media/attachment Permalinks.

100 active installs v0.1 PHP + WP 4.0+ Updated Nov 16, 2017
attachmentimage-permalinkmediapermalinkvideo-permalink
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Media Post Permalink Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 8yr ago
Risk Assessment

The "media-post-permalink" plugin v0.1 exhibits a mixed security posture. While the static analysis indicates a very small attack surface with zero identified entry points and no known vulnerabilities historically, there are significant concerns within the code itself. The presence of the "unserialize" function is a critical red flag, as unserialization of untrusted data is a common vector for remote code execution. Furthermore, all SQL queries are executed without prepared statements, which opens the door to SQL injection vulnerabilities. The lack of proper output escaping on all identified outputs suggests a high risk of cross-site scripting (XSS) attacks. Despite the lack of known vulnerabilities and a minimal attack surface, these code-level weaknesses represent substantial inherent risks that could be easily exploited if an attacker can influence the data being unserialized or injected into SQL queries, or if user-controlled data is outputted without sanitization. Developers should prioritize addressing these immediate code security issues.

Key Concerns

  • Uses unserialize without proper checks
  • SQL queries not using prepared statements
  • No output escaping on any outputs
  • No nonce checks found
  • Only one capability check found
Vulnerabilities
None known

Media Post Permalink Security Vulnerabilities

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

Media Post Permalink Code Analysis

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

Dangerous Functions Found

unserialize$media_post_settings = unserialize( get_option('media_post_permalink_settings') );admin\class.media-post-permalink.php:50
unserialize$media_post_settings = unserialize( get_option('media_post_permalink_settings') );media-post-permalink.php:70

SQL Query Safety

0% prepared2 total queries

Output Escaping

0% escaped4 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
media_post_permalink_settings_page (admin\class.media-post-permalink.php:32)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Media Post Permalink Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
actionadmin_menuadmin\class.media-post-permalink.php:18
actioninitmedia-post-permalink.php:57
filterwp_insert_attachment_datamedia-post-permalink.php:116
Maintenance & Trust

Media Post Permalink Maintenance & Trust

Maintenance Signals

WordPress version tested4.9.29
Last updatedNov 16, 2017
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs100
Developer Profile

Media Post Permalink Developer Profile

Sami Ahmed Siddiqui

7 plugins · 116K total installs

74
trust score
Avg Security Score
93/100
Avg Patch Time
966 days
View full developer profile
Detection Fingerprints

How We Detect Media Post Permalink

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/media-post-permalink/css/admin-style.min.css
Version Parameters
media-post-permalink/style.css?ver=media-post-permalink/script.js?ver=

HTML / DOM Fingerprints

CSS Classes
media-post-admin-table
Data Attributes
id="media-post-permalink"id="post_prefic_name"
FAQ

Frequently Asked Questions about Media Post Permalink