Custom Shortlink Structure Security & Risk Analysis

wordpress.org/plugins/custom-shortlink-structure

Change the default WordPress shortlink structure dynamically just like you can change your permalinks.

10 active installs v1.0 PHP + WP 3.1+ Updated Apr 22, 2013
customhyperlinkpermalinkshortlinkurl
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Custom Shortlink Structure Safe to Use in 2026?

Generally Safe

Score 85/100

Custom Shortlink Structure 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 plugin "custom-shortlink-structure" v1.0 exhibits a mixed security posture. On the positive side, it has no known vulnerabilities and demonstrates good practices regarding SQL queries, ensuring all are prepared statements. The absence of file operations, external HTTP requests, and bundled libraries further reduces potential attack vectors. However, significant concerns arise from the static analysis, particularly the output escaping. With only 33% of outputs properly escaped, there's a clear risk of Cross-Site Scripting (XSS) vulnerabilities, allowing attackers to inject malicious scripts into the site. The taint analysis, while not revealing critical or high severity issues, did find two flows with unsanitized paths, which could potentially lead to vulnerabilities if exploited in conjunction with other weaknesses. The complete lack of AJAX handlers, REST API routes, shortcodes, cron events, nonce checks, and capability checks, while seemingly reducing the attack surface to zero, also means there are no built-in security mechanisms for any potential future additions or unforeseen interactions, making it difficult to assess its resilience against evolving threats. The vulnerability history being entirely clean is a positive indicator, but it doesn't negate the immediate risks identified in the code itself. The overall security posture is therefore one of caution, with immediate risks from inadequate output escaping needing urgent attention.

Key Concerns

  • Low output escaping percentage
  • Flows with unsanitized paths detected
  • No capability checks
  • No nonce checks
Vulnerabilities
None known

Custom Shortlink Structure Security Vulnerabilities

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

Custom Shortlink Structure Code Analysis

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

Output Escaping

33% escaped6 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
settings_init (custom-shortlink-structure.php:250)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Custom Shortlink Structure Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 7
actiongenerate_rewrite_rulescustom-shortlink-structure.php:55
filterquery_varscustom-shortlink-structure.php:56
actiontemplate_redirectcustom-shortlink-structure.php:57
filterget_shortlinkcustom-shortlink-structure.php:60
actionadmin_initcustom-shortlink-structure.php:63
actionadmin_menucustom-shortlink-structure.php:64
actionadmin_enqueue_scriptscustom-shortlink-structure.php:252
Maintenance & Trust

Custom Shortlink Structure Maintenance & Trust

Maintenance Signals

WordPress version tested3.6.1
Last updatedApr 22, 2013
PHP min version
Downloads2K

Community Trust

Rating60/100
Number of ratings2
Active installs10
Developer Profile

Custom Shortlink Structure Developer Profile

Alex

4 plugins · 10K total installs

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

How We Detect Custom Shortlink Structure

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/custom-shortlink-structure/css/shortlink-structure.css
Script Paths
/wp-content/plugins/custom-shortlink-structure/js/shortlink-structure.js
Version Parameters
custom-shortlink-structure/css/shortlink-structure.css?ver=custom-shortlink-structure/js/shortlink-structure.js?ver=

HTML / DOM Fingerprints

Data Attributes
name="csls-settings[rule]"name="csls-settings[custom]"id="csls-settings-custom"name="csls-settings[rules][id="shortlinks-custom"
Shortcode Output
<code>?p=%post_id%</code><code>s/%post_id%</code><code>-%post_id%</code><code>~%post_id%</code>
FAQ

Frequently Asked Questions about Custom Shortlink Structure