Related Items Security & Risk Analysis

wordpress.org/plugins/related-items

Related Items plugin lets you relate a page, post or custom post type to other pages, posts and custom post types.

40 active installs v1.1.3 PHP + WP 2.9+ Updated Sep 5, 2013
postrelatedrelated-itemsrelated-pagesrelated-posts
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Related Items Safe to Use in 2026?

Generally Safe

Score 85/100

Related Items 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 "related-items" plugin v1.1.3 exhibits a mixed security posture. On the positive side, the plugin demonstrates good practices regarding SQL query sanitization, exclusively using prepared statements. It also has no recorded vulnerability history, indicating a generally stable codebase or a lack of past exploitation.

However, significant concerns arise from the static analysis. The most critical is that 100% of the 19 output operations are not properly escaped. This presents a high risk of Cross-Site Scripting (XSS) vulnerabilities, as user-supplied or dynamically generated content could be rendered directly in the browser without sanitization, allowing attackers to inject malicious scripts. Furthermore, while the taint analysis did not identify critical or high severity flows, it did reveal three flows with unsanitized paths, suggesting potential for unintended data handling or further exploitation pathways.

While the lack of unauthenticated entry points and known CVEs is reassuring, the pervasive lack of output escaping is a major weakness. This plugin's security is significantly undermined by its failure to properly sanitize output, making it vulnerable to XSS attacks. Users should exercise caution and ideally ensure proper sanitization is implemented before deploying this plugin in a production environment.

Key Concerns

  • 100% of outputs are unescaped
  • 3 unsanitized paths in taint analysis
  • No capability checks on entry points
  • No nonce checks on entry points
Vulnerabilities
None known

Related Items Security Vulnerabilities

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

Related Items Code Analysis

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

Output Escaping

0% escaped19 total outputs
Data Flows
3 unsanitized

Data Flow Analysis

3 flows3 with unsanitized paths
__construct (plugin-admin.php:15)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Related Items Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[related-items] related-items.php:33
WordPress Hooks 9
filterplugin_row_metaplugin-admin.php:35
actionadmin_menuplugin-admin.php:38
filtercontextual_helpplugin-admin.php:40
actionsave_postrelated-items.php:20
actionadmin_menurelated-items.php:23
filterthe_contentrelated-items.php:28
actionwp_headrelated-items.php:31
actionadmin_print_scriptsrelated-items.php:60
actionadmin_print_stylesrelated-items.php:63
Maintenance & Trust

Related Items Maintenance & Trust

Maintenance Signals

WordPress version tested3.6.1
Last updatedSep 5, 2013
PHP min version
Downloads8K

Community Trust

Rating74/100
Number of ratings3
Active installs40
Developer Profile

Related Items Developer Profile

ChrisHurst

19 plugins · 2K total installs

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

How We Detect Related Items

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/related-items/styles.css/wp-content/plugins/related-items/scripts.js
Script Paths
/wp-content/plugins/related-items/scripts.js
Version Parameters
related-items/styles.css?ver=related-items/scripts.js?ver=

HTML / DOM Fingerprints

CSS Classes
related-items-boxnew_relationship_form
HTML Comments
add new relationship meta box
Data Attributes
id="related-items-category-filter-select"name="related-items-category-filter-select"id="related-items-select"name="related-items-select"id="add_relationship"id="related-items-box"
JS Globals
var wpurl
Shortcode Output
<div id="related-items"><p>Select items to add a relationship, drag and drop related items to change the order.</p><div class='new_relationship_form'>Item Type: <select id="related-items-category-filter-select" name="related-items-category-filter-select">
FAQ

Frequently Asked Questions about Related Items