Related Links Security & Risk Analysis

wordpress.org/plugins/related-links

Manually link to existing content or a custom url through a meta box on the writing page.

200 active installs v1.7.1 PHP + WP 3.0+ Updated Sep 12, 2012
deepinternallinkpostrelated
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Related Links Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 13yr ago
Risk Assessment

The "related-links" plugin v1.7.1 exhibits a generally good security posture based on the provided static analysis. The plugin has a very small attack surface, with only one AJAX handler, and importantly, this handler appears to have authentication checks, as indicated by the 0 unprotected entry points. The code also demonstrates good practices by utilizing prepared statements for all SQL queries and performing a reasonable number of nonce and capability checks. There are no identified dangerous functions, file operations, or external HTTP requests, further reducing potential attack vectors.

However, a significant concern arises from the output escaping. With only 9% of 32 outputs properly escaped, there is a high likelihood of Cross-Site Scripting (XSS) vulnerabilities. This lack of adequate escaping means that user-supplied data or data processed by the plugin could be rendered directly in the browser without sanitization, allowing attackers to inject malicious scripts. While the taint analysis shows no unsanitized paths, this is a critical weakness that could be exploited if an attacker finds a way to inject data that bypasses the taint analysis's scope but is still outputted unsafely.

The plugin's vulnerability history is entirely clean, with no recorded CVEs. This is a positive indicator, suggesting a history of stable and secure development. However, it's crucial to remember that a clean history does not guarantee future security, especially given the identified output escaping issue. In conclusion, while the "related-links" plugin has a strong foundation with minimal attack surface and secure data handling for SQL, the severe deficiency in output escaping represents a significant and actionable risk that needs immediate attention.

Key Concerns

  • Poor output escaping (9% properly escaped)
Vulnerabilities
None known

Related Links Security Vulnerabilities

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

Related Links Code Analysis

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

SQL Query Safety

100% prepared1 total queries

Output Escaping

9% escaped32 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
create_page_content (classes\class-related-links-settings.php:102)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Related Links Attack Surface

Entry Points1
Unprotected0

AJAX Handlers 1

authwp_ajax_load_links_listclasses\class-related-links-box.php:56
WordPress Hooks 10
actionadmin_initclasses\class-related-links-box.php:24
actionadmin_print_styles-post.phpclasses\class-related-links-box.php:57
actionadmin_print_styles-post-new.phpclasses\class-related-links-box.php:58
actionadmin_print_scripts-post.phpclasses\class-related-links-box.php:59
actionadmin_print_scripts-post-new.phpclasses\class-related-links-box.php:60
actionsave_postclasses\class-related-links-box.php:61
actionadd_meta_boxesclasses\class-related-links-box.php:71
actionadmin_initclasses\class-related-links-settings.php:12
actionadmin_menuclasses\class-related-links-settings.php:13
actionwidgets_initclasses\class-related-links-widget.php:13
Maintenance & Trust

Related Links Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedSep 12, 2012
PHP min version
Downloads19K

Community Trust

Rating86/100
Number of ratings6
Active installs200
Developer Profile

Related Links Developer Profile

piffpaffpuff

1 plugin · 200 total installs

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

How We Detect Related Links

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/related-links/css/style.css/wp-content/plugins/related-links/js/script.js
Script Paths
/wp-content/plugins/related-links/js/script.js
Version Parameters
related-links-stylesrelated-links-scripts

HTML / DOM Fingerprints

CSS Classes
related-links-listrelated-links-insiderelated-links-selectedrelated-links-selected-menu-item-handlerelated-links-add-linksrelated-links-add-linkrelated-links-add-custom-link+15 more
HTML Comments
<!-- related-links --><!-- Related Links --><!-- Copyright (C) 2012 Triggvy Gunderson --><!-- This program is free software: you can redistribute it and/or modify -->+53 more
Data Attributes
related_links_nonceid="related-links-inside"id="related-links-selected"class="related-links-selected menu-item-handle"id="related-links-selected-name="related_links[posts][]"+31 more
JS Globals
jQuery$related_links
Shortcode Output
<ul class="related-links-list"><li><a href=""></a></li>
FAQ

Frequently Asked Questions about Related Links