Stop Junk Security & Risk Analysis

wordpress.org/plugins/stop-junk

Stops spam on comments box. User needs to enter result of a simple math problem in a text box before posting a comment.

40 active installs v1.0 PHP + WP 3.0+ Updated May 7, 2012
commentsjunkpostspamverification
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Stop Junk Safe to Use in 2026?

Generally Safe

Score 85/100

Stop Junk 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 "stop-junk" plugin version 1.0 demonstrates a seemingly strong security posture based on the provided static analysis. The plugin has zero recorded vulnerabilities, including no known CVEs, which is a significant positive indicator. Furthermore, its attack surface is reported as zero, with no AJAX handlers, REST API routes, shortcodes, or cron events, implying a minimal interaction footprint. All observed SQL queries utilize prepared statements, a crucial best practice for preventing SQL injection. The absence of dangerous functions, file operations, and external HTTP requests further contributes to its perceived security.

However, a critical concern arises from the output escaping analysis. With 4 total outputs and 0% properly escaped, this indicates a high likelihood of Cross-Site Scripting (XSS) vulnerabilities. Any data displayed to users that originates from user input or other potentially untrusted sources could be rendered without proper sanitization, allowing attackers to inject malicious scripts. The plugin also lacks nonce checks and relies on only one capability check, which, while not inherently a direct vulnerability in itself given the zero attack surface, could become a point of weakness if the attack surface were to expand in future versions or if the single capability check is insufficient for its purpose.

In conclusion, while the plugin's lack of historical vulnerabilities and its absence of common entry points are commendable, the complete lack of output escaping presents a significant and immediate risk. This needs to be addressed to prevent potential XSS attacks. The current security posture is a mixed bag, with strengths in SQL handling and attack surface minimization overshadowed by a severe weakness in output sanitization.

Key Concerns

  • 0% output escaping
Vulnerabilities
None known

Stop Junk Security Vulnerabilities

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

Stop Junk Code Analysis

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

Output Escaping

0% escaped4 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
stop_junk_plugin_page (stop-junk.php:183)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Stop Junk Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 3
filterpreprocess_commentstop-junk.php:67
filtercomment_form_field_commentstop-junk.php:73
actionadmin_menustop-junk.php:79
Maintenance & Trust

Stop Junk Maintenance & Trust

Maintenance Signals

WordPress version tested3.3.2
Last updatedMay 7, 2012
PHP min version
Downloads4K

Community Trust

Rating0/100
Number of ratings0
Active installs40
Developer Profile

Stop Junk Developer Profile

Matthew Bretag

1 plugin · 40 total installs

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

How We Detect Stop Junk

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

Asset Fingerprints

HTML / DOM Fingerprints

CSS Classes
stop-junk-math
Data Attributes
name="math_val"id="math_val"name="num1"name="num2"name="stop_junk_submit_hidden"name="stop_junk_math_color"
Shortcode Output
<p class="stop-junk-math"><label for="math_val">Validation Code</label><span class="required">*</span><span<input style="width:100px;" id="math_val" name="math_val" type="text" size="10" aria-required='true' /><input name="num1" value="
FAQ

Frequently Asked Questions about Stop Junk