UK Food Hygiene Rating Security & Risk Analysis

wordpress.org/plugins/uk-food-hygiene-rating

Show UK Food Agency hygiene rating on your wordpress blog posts

20 active installs v1.0.0 PHP + WP 4.3+ Updated Dec 20, 2016
foodhygienerestaurantsuk
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is UK Food Hygiene Rating Safe to Use in 2026?

Generally Safe

Score 85/100

UK Food Hygiene Rating has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 9yr ago
Risk Assessment

The "uk-food-hygiene-rating" plugin v1.0.0 exhibits a generally good security posture based on the provided static analysis. The absence of AJAX handlers, REST API routes, cron events, and the single shortcode entry point all being protected by capability checks are positive signs. The code also demonstrates good practices by exclusively using prepared statements for SQL queries and having no file operations or external HTTP requests that appear to be a security concern. However, the analysis does reveal some areas for improvement. A significant concern is the low percentage (20%) of properly escaped output, suggesting a potential for cross-site scripting (XSS) vulnerabilities if user-supplied data is directly rendered without adequate sanitization. Additionally, the complete lack of nonce checks and capability checks on the identified shortcode entry point is a critical oversight. While there's no recorded vulnerability history, this doesn't negate the risks identified in the code analysis, as new vulnerabilities can emerge from existing code patterns.

Key Concerns

  • Missing nonce checks on entry points
  • Insufficient output escaping
  • Lack of capability checks on entry points
Vulnerabilities
None known

UK Food Hygiene Rating Security Vulnerabilities

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

UK Food Hygiene Rating Code Analysis

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

Output Escaping

20% escaped5 total outputs
Attack Surface

UK Food Hygiene Rating Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[food] uk-food-hygiene-rating.php:96
WordPress Hooks 3
actionadmin_menuoptions.php:2
actionadmin_initoptions.php:3
actioninituk-food-hygiene-rating.php:98
Maintenance & Trust

UK Food Hygiene Rating Maintenance & Trust

Maintenance Signals

WordPress version tested4.7.32
Last updatedDec 20, 2016
PHP min version
Downloads1K

Community Trust

Rating100/100
Number of ratings1
Active installs20
Developer Profile

UK Food Hygiene Rating Developer Profile

runawaycoin

1 plugin · 20 total installs

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

How We Detect UK Food Hygiene Rating

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

Asset Fingerprints

HTML / DOM Fingerprints

FAQ

Frequently Asked Questions about UK Food Hygiene Rating