BeerXML Shortcode Security & Risk Analysis

wordpress.org/plugins/beerxml-shortcode

Automatically insert and display beer recipes by linking to a BeerXML document.

100 active installs v0.8 PHP + WP 3.4+ Updated Apr 29, 2025
beerbeerxmlhomebrewrecipeshortcode
99
A · Safe
CVEs total1
Unpatched0
Last CVEApr 24, 2025
Safety Verdict

Is BeerXML Shortcode Safe to Use in 2026?

Generally Safe

Score 99/100

BeerXML Shortcode has a strong security track record. Known vulnerabilities have been patched promptly.

1 known CVELast CVE: Apr 24, 2025Updated 11mo ago
Risk Assessment

The "beerxml-shortcode" plugin v0.8 exhibits a generally good security posture based on the static analysis, with no critical or high-severity taint flows detected and a high percentage of properly escaped outputs. The attack surface is minimal, with only one shortcode entry point and no unprotected AJAX handlers or REST API routes. The absence of dangerous functions, file operations, and external HTTP requests further strengthens its profile.

However, a significant concern is the single SQL query which is not using prepared statements. This presents a potential risk for SQL injection, especially if user-supplied data is directly incorporated into this query. Additionally, the lack of nonce checks and capability checks on its entry points means that any logic executed by the shortcode could potentially be triggered by any authenticated user, regardless of their role or intended permissions. The historical vulnerability of Server-Side Request Forgery (SSRF) is also a notable pattern, even though it is currently patched. This suggests a past weakness in handling external resources or user-controlled input that could lead to such vulnerabilities.

In conclusion, while the plugin has strengths in its limited attack surface and output escaping, the unescaped SQL query and lack of proper authorization checks on the shortcode present notable weaknesses that require attention. The historical SSRF vulnerability also warrants ongoing vigilance and review of how external data is handled.

Key Concerns

  • SQL queries not using prepared statements
  • No nonce checks on entry points
  • No capability checks on entry points
  • Past medium severity SSRF vulnerability
Vulnerabilities
1

BeerXML Shortcode Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

Medium
1

1 total CVE

CVE-2025-46511medium · 6.4Server-Side Request Forgery (SSRF)

BeerXML Shortcode <= 0.7.1 - Authenticated (Contributor+) Server-Side Request Forgery

Apr 24, 2025 Patched in 0.8 (8d)
Code Analysis
Analyzed Mar 16, 2026

BeerXML Shortcode Code Analysis

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

SQL Query Safety

0% prepared1 total queries

Output Escaping

93% escaped27 total outputs
Attack Surface

BeerXML Shortcode Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[beerxml] beerxml-shortcode.php:55
WordPress Hooks 5
actioninitbeerxml-shortcode.php:22
actioninitbeerxml-shortcode.php:23
actionadmin_menuincludes\admin.php:13
actionadmin_initincludes\admin.php:14
filterupload_mimesincludes\mime.php:12
Maintenance & Trust

BeerXML Shortcode Maintenance & Trust

Maintenance Signals

WordPress version tested6.8.5
Last updatedApr 29, 2025
PHP min version
Downloads7K

Community Trust

Rating98/100
Number of ratings9
Active installs100
Developer Profile

BeerXML Shortcode Developer Profile

Derek Springer

2 plugins · 200 total installs

88
trust score
Avg Security Score
92/100
Avg Patch Time
8 days
View full developer profile
Detection Fingerprints

How We Detect BeerXML Shortcode

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/beerxml-shortcode/css/beerxml.css/wp-content/plugins/beerxml-shortcode/js/beerxml.js
Script Paths
/wp-content/plugins/beerxml-shortcode/js/beerxml.js
Version Parameters
beerxml-shortcode/css/beerxml.css?ver=beerxml-shortcode/js/beerxml.js?ver=

HTML / DOM Fingerprints

CSS Classes
beerxml-actuals
HTML Comments
<!-- BeerXML shortcode passed invalid attributes --><!-- BeerXML shortcode source not set --><!-- Error parsing BeerXML document -->
Data Attributes
recipecachemetricdownloadstylemash+4 more
Shortcode Output
<tr class='beerxml-actuals'><th><td></table>
FAQ

Frequently Asked Questions about BeerXML Shortcode