Restrict Anonymous Access Security & Risk Analysis

wordpress.org/plugins/restrict-anonymous-access

Adds a shortcode to restrict content from anonymous users.

90 active installs v1.2.1 PHP + WP + Updated Jan 21, 2025
access-controlcapabilitiesrestrict-contentuser-access
91
A · Safe
CVEs total1
Unpatched0
Last CVEJan 24, 2025
Download
Safety Verdict

Is Restrict Anonymous Access Safe to Use in 2026?

Generally Safe

Score 91/100

Restrict Anonymous Access has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Jan 24, 2025Updated 1yr ago
Risk Assessment

The restrict-anonymous-access plugin version 1.2.1 demonstrates a generally strong security posture based on the provided static analysis. It effectively utilizes prepared statements for SQL queries and ensures all identified output is properly escaped, indicating good practices in preventing common web vulnerabilities. The absence of dangerous functions, file operations, and external HTTP requests further minimizes the potential attack surface. Furthermore, the plugin implements capability checks, which is a positive sign for controlling access to sensitive features.

However, a critical concern arises from the lack of nonce checks across its entry points. With only one identified shortcode as an entry point and no explicit mention of nonce verification for it, there's a potential for Cross-Site Request Forgery (CSRF) attacks. While no critical or high severity taint flows were detected in the code analysis, the historical presence of a medium severity Cross-Site Scripting (XSS) vulnerability, even if patched, suggests that user-supplied input should always be treated with extreme caution. The fact that there's a known CVE in its history, even if unpatched at present, warrants attention.

In conclusion, while the plugin has commendable security features like proper SQL handling and output escaping, the absence of nonce checks presents a significant weakness that could be exploited. The historical XSS vulnerability, although past, highlights the importance of ongoing vigilance and robust input validation, particularly for the shortcode entry point.

Key Concerns

  • Missing nonce checks on entry points
  • Historical medium severity XSS vulnerability
Vulnerabilities
1

Restrict Anonymous Access Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

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

Restrict Anonymous Access <= 1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting

Jan 24, 2025 Patched in 1.2.1 (5d)
Code Analysis
Analyzed Mar 16, 2026

Restrict Anonymous Access Code Analysis

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

Output Escaping

100% escaped10 total outputs
Attack Surface

Restrict Anonymous Access Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[member] restrict-anonymous-access.php:118
WordPress Hooks 4
actionplugins_loadedrestrict-anonymous-access.php:40
actionwp_enqueue_scriptsrestrict-anonymous-access.php:46
filtermce_external_pluginsrestrict-anonymous-access.php:125
filtermce_buttonsrestrict-anonymous-access.php:132
Maintenance & Trust

Restrict Anonymous Access Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedJan 21, 2025
PHP min version
Downloads3K

Community Trust

Rating100/100
Number of ratings3
Active installs90
Developer Profile

Restrict Anonymous Access Developer Profile

Christian Leuenberg

4 plugins · 1K total installs

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

How We Detect Restrict Anonymous Access

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/restrict-anonymous-access/css/styles.css
Script Paths
/wp-content/plugins/restrict-anonymous-access/index.js

HTML / DOM Fingerprints

CSS Classes
raa-box-info
Data Attributes
data-mce-selected
Shortcode Output
<div class="raa-box-info<p>This section is only available to registered users.</p><p>This section is only available to registered users.</p>
FAQ

Frequently Asked Questions about Restrict Anonymous Access