Battlefield 3 Statistics Security & Risk Analysis

wordpress.org/plugins/battlefield-3-statistics

A widget that shows player data received from the bf3stats.com API

10 active installs v1.1 PHP + WP 3.0+ Updated Nov 11, 2011
battlefieldbattlefield-3bf3statisticsstats
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Battlefield 3 Statistics Safe to Use in 2026?

Generally Safe

Score 85/100

Battlefield 3 Statistics has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 14yr ago
Risk Assessment

The "battlefield-3-statistics" v1.1 plugin exhibits a generally strong security posture based on the static analysis. There are no identified entry points (AJAX handlers, REST API routes, shortcodes, cron events) that are directly exposed to attackers, and crucially, none of these potential entry points are found to be unprotected. The code also demonstrates excellent practices regarding SQL queries, with 100% using prepared statements, and output escaping, with 100% properly escaped. The absence of file operations and external HTTP requests in the analyzed code further contributes to a reduced attack surface. The vulnerability history is also clear, with no known CVEs recorded, indicating a lack of past exploitable flaws.

However, there are a few concerning signals within the code. The presence of the `create_function` dangerous function, even if only one, is a significant red flag, as it can be a source of remote code execution vulnerabilities if not handled with extreme care. The complete lack of nonce checks and capability checks is also a major concern, as it implies that any potential, albeit currently undiscovered, entry points could be exploited without any built-in integrity or authorization mechanisms. The single external HTTP request, while not inherently bad, represents a potential pivot point for attackers if the target of the request is compromised or malicious.

Despite these concerns, the overall security profile of the plugin is positive due to the absence of direct, unprotected entry points and a clean vulnerability history. The strengths in SQL and output sanitization are commendable. The primary areas for improvement lie in addressing the dangerous function usage, implementing proper nonce and capability checks for any future development or discovered entry points, and scrutinizing the single external HTTP request.

Key Concerns

  • Dangerous function used (create_function)
  • No nonce checks
  • No capability checks
  • External HTTP request present
Vulnerabilities
None known

Battlefield 3 Statistics Security Vulnerabilities

No known vulnerabilities — this is a good sign.
Version History

Battlefield 3 Statistics Release Timeline

v1.1Current
v1.0.1
v1.0
Code Analysis
Analyzed Apr 16, 2026

Battlefield 3 Statistics Code Analysis

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

Dangerous Functions Found

create_functionadd_action('widgets_init',create_function('', 'return register_widget("Battlefield_3_Statistics_Widgbattlefield-3-statistics.php:156
Attack Surface

Battlefield 3 Statistics Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
actionwidgets_initbattlefield-3-statistics.php:156
Maintenance & Trust

Battlefield 3 Statistics Maintenance & Trust

Maintenance Signals

WordPress version tested3.2.1
Last updatedNov 11, 2011
PHP min version
Downloads3K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Battlefield 3 Statistics Developer Profile

Jeroen Weustink

2 plugins · 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 Battlefield 3 Statistics

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/battlefield-3-statistics/classes/api.class.php/wp-content/plugins/battlefield-3-statistics/views/statistics.phtml/wp-content/plugins/battlefield-3-statistics/views/error.phtml/wp-content/plugins/battlefield-3-statistics/views/form.phtml

HTML / DOM Fingerprints

Shortcode Output
Battlefield 3 Statistics
FAQ

Frequently Asked Questions about Battlefield 3 Statistics