Attachment Slugs for WordPress Security & Risk Analysis

wordpress.org/plugins/attachment-slug

Enables permalink support for media attachments making the URLs more friendly and great for SEO.

100 active installs v2.0.0 PHP 5.6+ WP 4.4+ Updated Dec 13, 2022
attachmentattachment-slugattachmentsimage-slugpage-slug
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Attachment Slugs for WordPress Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 3yr ago
Risk Assessment

The attachment-slug plugin v2.0.0 exhibits a generally good security posture with no known vulnerabilities in its history and a commendable approach to SQL querying with 100% prepared statements. The absence of direct entry points like AJAX handlers, REST API routes, and shortcodes is a significant strength. However, the static analysis reveals two critical taint flows with unsanitized paths, indicating a potential risk of insecure handling of data that could lead to vulnerabilities if these paths are reachable and the data is user-controlled. While the plugin has a large number of output escapings, a portion of these are not properly escaped, which could present a risk for cross-site scripting (XSS) vulnerabilities, though the severity depends on the context of the unescaped output. The lack of capability checks on its functions is a concern, especially if any sensitive operations are performed without proper authorization checks, though the absence of direct entry points mitigates this to some extent. Overall, the plugin's clean vulnerability history and secure SQL practices are positives, but the identified taint flows and unescaped outputs warrant attention.

Key Concerns

  • Taint flows with unsanitized paths (High severity)
  • Unescaped output found (22%)
  • No capability checks
Vulnerabilities
None known

Attachment Slugs for WordPress Security Vulnerabilities

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

Attachment Slugs for WordPress Code Analysis

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

SQL Query Safety

100% prepared2 total queries

Output Escaping

78% escaped23 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
save_individual_slug (attachment-slug.php:256)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Attachment Slugs for WordPress Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 9
actionadmin_initattachment-slug.php:88
actionadmin_initattachment-slug.php:91
filterattachment_linkattachment-slug.php:94
actioninitattachment-slug.php:97
actioninitattachment-slug.php:100
actionattachment_submitbox_misc_actionsattachment-slug.php:104
actionattachment_updatedattachment-slug.php:105
actionadmin_noticesattachment-slug.php:124
filterplugin_localeattachment-slug.php:319
Maintenance & Trust

Attachment Slugs for WordPress Maintenance & Trust

Maintenance Signals

WordPress version tested6.1.10
Last updatedDec 13, 2022
PHP min version5.6
Downloads6K

Community Trust

Rating100/100
Number of ratings3
Active installs100
Developer Profile

Attachment Slugs for WordPress Developer Profile

Sébastien Dumont

15 plugins · 2K total installs

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

How We Detect Attachment Slugs for WordPress

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/attachment-slug/admin/views/html-notice-requirement-wp.php

HTML / DOM Fingerprints

CSS Classes
misc-pub-attachment-slug
Data Attributes
attachment_slugid="attachment_slug"
FAQ

Frequently Asked Questions about Attachment Slugs for WordPress