Beer Ratings Security & Risk Analysis

wordpress.org/plugins/beer-ratings

The Beer Ratings plugin allows you to display information about beers, brewers, and places to drink. The plugin requires a RateBeer API Key.

10 active installs v1.0.2 PHP + WP 3.0+ Updated Jul 20, 2012
beerbeer-librarybrewbreweriescraft-beer
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Beer Ratings Safe to Use in 2026?

Generally Safe

Score 85/100

Beer Ratings 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 "beer-ratings" plugin version 1.0.2 exhibits a mixed security posture. On the positive side, it demonstrates good practices by using prepared statements for all SQL queries and does not have any known vulnerabilities or CVEs in its history. The absence of critical or high severity taint flows is also encouraging. However, significant concerns arise from the static analysis. The presence of a dangerous function like `unserialize` without any explicit mention of sanitization or context is a major red flag. Furthermore, the plugin has a substantial number of shortcodes, which form its entire attack surface, and while there are capability checks, there are zero nonce checks. The output escaping is also alarmingly low, with only 9% of outputs being properly escaped, leaving ample room for Cross-Site Scripting (XSS) vulnerabilities.

The lack of vulnerability history is a positive indicator, suggesting the plugin has not been historically a target or has been developed with reasonable security in mind. However, this must be weighed against the static analysis findings. The high number of shortcodes as the sole entry points, combined with the lack of nonce checks and poor output escaping, presents a significant risk of XSS attacks. The `unserialize` function, if used with user-supplied data, could lead to remote code execution or denial-of-service vulnerabilities. While the plugin shows strengths in SQL handling and has a clean vulnerability record, the identified weaknesses in handling user input and output present substantial risks that require immediate attention.

Key Concerns

  • Presence of unserialize function
  • Low percentage of properly escaped output
  • Zero nonce checks on entry points
  • Attack surface relies on shortcodes
Vulnerabilities
None known

Beer Ratings Security Vulnerabilities

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

Beer Ratings Code Analysis

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

Dangerous Functions Found

unserializereturn unserialize( file_get_contents( $cache_filepath ) );includes\BeerRatings_CacheManager.php:53

Output Escaping

9% escaped43 total outputs
Data Flows
All sanitized

Data Flow Analysis

2 flows
plugin_options (includes\BeerRatings_Settings.php:49)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Beer Ratings Attack Surface

Entry Points11
Unprotected0

Shortcodes 11

[beerratings-place-search] index.php:55
[beerratings-place] index.php:56
[beerratings-brewer] index.php:59
[beerratings-beer-review] index.php:62
[beerratings-beer-place] index.php:63
[beerratings-beer-brewer] index.php:64
[beerratings-beer] index.php:65
[beerratings-bestbeer-style] index.php:67
[beerratings-bestbeer-season] index.php:68
[beerratings-bestbeer-country] index.php:69
[beerratings-bestbeer] index.php:70
WordPress Hooks 4
actionadmin_menuindex.php:93
actionadmin_noticesindex.php:94
actionadmin_print_stylesindex.php:95
filterplugin_action_linksindex.php:98
Maintenance & Trust

Beer Ratings Maintenance & Trust

Maintenance Signals

WordPress version tested3.4.2
Last updatedJul 20, 2012
PHP min version
Downloads2K

Community Trust

Rating20/100
Number of ratings1
Active installs10
Developer Profile

Beer Ratings Developer Profile

jamesewelch

1 plugin · 10 total installs

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

How We Detect Beer Ratings

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/beer-ratings/css/beer-ratings-admin.css/wp-content/plugins/beer-ratings/css/beer-ratings.css/wp-content/plugins/beer-ratings/js/beer-ratings.js
Script Paths
/wp-content/plugins/beer-ratings/js/beer-ratings.js
Version Parameters
beer-ratings/css/beer-ratings-admin.css?ver=beer-ratings/css/beer-ratings.css?ver=beer-ratings/js/beer-ratings.js?ver=

HTML / DOM Fingerprints

CSS Classes
beerratings_creditbeerratings_brewer_listbeerratings_brewer_itembeerratings_beer_listbeerratings_beer_item
Data Attributes
id='brewer-#_BREWERID'id='beer-#_BEERID'
Shortcode Output
[beerratings-place-search][beerratings-place][beerratings-brewer][beerratings-beer-review]
FAQ

Frequently Asked Questions about Beer Ratings