Better Random Redirect Security & Risk Analysis

wordpress.org/plugins/better-random-redirect

Based on the original Random Redirect, this plugin enables efficient, easy random redirection to a post. Supports setting a category for all random re …

700 active installs v1.3.20 PHP + WP 3.0.0+ Updated May 26, 2025
categorypostrandom
78
B · Generally Safe
CVEs total1
Unpatched1
Last CVEJun 19, 2025
Safety Verdict

Is Better Random Redirect Safe to Use in 2026?

Mostly Safe

Score 78/100

Better Random Redirect is generally safe to use. 1 past CVE were resolved. Keep it updated.

1 known CVE 1 unpatched Last CVE: Jun 19, 2025Updated 10mo ago
Risk Assessment

The plugin 'better-random-redirect' v1.3.20 presents a mixed security posture. On the positive side, the code analysis indicates good practices in handling SQL queries, with all 7 queries utilizing prepared statements, and no dangerous functions or file operations were detected. The attack surface is also relatively small, with only one shortcode identified and no AJAX handlers or REST API routes present. However, there are significant concerns, particularly regarding output escaping and the lack of security checks. Only 6% of the 17 detected outputs are properly escaped, leaving a substantial risk of Cross-Site Scripting (XSS) vulnerabilities. Furthermore, the absence of nonce checks and capability checks on the identified entry point (the shortcode) is a critical oversight, meaning any user, regardless of their role, could potentially trigger its functionality. The vulnerability history reveals a past medium-severity XSS vulnerability, and the fact that one CVE is currently unpatched is a serious red flag, suggesting ongoing security risks that have not been addressed by the developers. While the plugin demonstrates some secure coding practices, the high percentage of unescaped output and the complete lack of security checks on its primary entry point, coupled with an unpatched vulnerability, create a notable risk profile that requires immediate attention.

Key Concerns

  • Unpatched CVE
  • Unescaped output
  • Missing nonce checks
  • Missing capability checks
  • Taint flows with unsanitized paths
Vulnerabilities
1

Better Random Redirect Security Vulnerabilities

CVEs by Year

1 CVE in 2025 · unpatched
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-50021medium · 4.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Better Random Redirect <= 1.3.20 - Authenticated (Administrator+) Stored Cross-Site Scripting

Jun 19, 2025Unpatched
Code Analysis
Analyzed Mar 16, 2026

Better Random Redirect Code Analysis

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

SQL Query Safety

100% prepared7 total queries

Output Escaping

6% escaped17 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
do_redirect (classes\BetterRandomRedirect.php:168)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Better Random Redirect Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[random-url] classes\BetterRandomRedirect.php:9
WordPress Hooks 12
actionplugins_loadedclasses\BetterRandomRedirect.php:5
actionadmin_menuclasses\BetterRandomRedirect.php:6
actionadmin_initclasses\BetterRandomRedirect.php:7
actiontemplate_redirectclasses\BetterRandomRedirect.php:8
filterbrr_transient_id_filterclasses\BrrFilter.php:10
filterbrr_additional_where_filterclasses\BrrFilter.php:11
filterbrr_url_base_filterclasses\BrrFilter.php:12
filterbrr_admin_table_filterclasses\BrrFilter.php:13
filterbrr_transient_id_filterclasses\QtranslatexFilter.php:16
filterbrr_additional_where_filterclasses\QtranslatexFilter.php:17
filterbrr_url_base_filterclasses\QtranslatexFilter.php:18
filterbrr_admin_table_filterclasses\QtranslatexFilter.php:19
Maintenance & Trust

Better Random Redirect Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedMay 26, 2025
PHP min version
Downloads27K

Community Trust

Rating92/100
Number of ratings10
Active installs700
Developer Profile

Better Random Redirect Developer Profile

Robert Peake

3 plugins · 61K total installs

67
trust score
Avg Security Score
83/100
Avg Patch Time
525 days
View full developer profile
Detection Fingerprints

How We Detect Better Random Redirect

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/better-random-redirect/css/brr_admin.css/wp-content/plugins/better-random-redirect/js/brr_admin.js

HTML / DOM Fingerprints

Shortcode Output
[random-url
FAQ

Frequently Asked Questions about Better Random Redirect