MetalpriceAPI Security & Risk Analysis

wordpress.org/plugins/metalpriceapi

Display live or historical precious metal prices (Gold, Silver, Platinum, Palladium, ...) in over 150+ currencies

600 active installs v1.1.7 PHP + WP 5.0+ Updated Feb 17, 2026
goldmetals-apimetals-ratesplatinumsilver
98
A · Safe
CVEs total1
Unpatched0
Last CVEMay 22, 2025
Download
Safety Verdict

Is MetalpriceAPI Safe to Use in 2026?

Generally Safe

Score 98/100

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

1 known CVELast CVE: May 22, 2025Updated 1mo ago
Risk Assessment

The metalpriceapi plugin v1.1.7 demonstrates a generally good security posture based on the provided static analysis. All identified entry points, including shortcodes, are protected with nonce and capability checks, indicating a commitment to secure development practices. The code adheres to best practices by using prepared statements for all SQL queries and properly escaping all output, eliminating risks associated with SQL injection and Cross-Site Scripting (XSS) originating from the plugin's own code. The absence of dangerous functions, file operations, and critical taint flows further strengthens its security profile.

Despite the strong static analysis, a single historical high-severity vulnerability related to 'Improper Control of Generation of Code' ('Code Injection') is a significant concern. While the vulnerability is listed as currently unpatched for a future date (2025-05-22), the fact that a code injection vulnerability existed in the past suggests a potential weakness in how external or user-supplied data was handled or processed. The plugin also makes three external HTTP requests, which, while not inherently insecure, introduce a dependency on external services that could be compromised or unavailable, potentially impacting functionality and indirectly security if not handled with robust error checking and validation.

In conclusion, the plugin excels in its current implementation regarding SQL, output escaping, and endpoint protection. However, the past code injection vulnerability, even if patched in newer versions, warrants caution and highlights the importance of ongoing security vigilance. The external HTTP requests represent a minor area for potential improvement in terms of resilience.

Key Concerns

  • Unpatched high severity CVE (future date)
Vulnerabilities
1

MetalpriceAPI Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
Patched Has unpatched

Severity Breakdown

High
1

1 total CVE

CVE-2025-48140high · 8.8Improper Control of Generation of Code ('Code Injection')

MetalpriceAPI <= 1.1.4 - Authenticated (Contributor+) Remote Code Execution

May 22, 2025 Patched in 1.1.5 (15d)
Code Analysis
Analyzed Mar 16, 2026

MetalpriceAPI Code Analysis

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

Output Escaping

100% escaped53 total outputs
Data Flows
All sanitized

Data Flow Analysis

3 flows
saveOption (index.php:123)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

MetalpriceAPI Attack Surface

Entry Points3
Unprotected0

Shortcodes 3

[metalpriceapi] index.php:115
[metalpriceapi_change] index.php:116
[metalpriceapi_carat] index.php:117
WordPress Hooks 1
actionadmin_menuindex.php:118
Maintenance & Trust

MetalpriceAPI Maintenance & Trust

Maintenance Signals

WordPress version tested6.9.4
Last updatedFeb 17, 2026
PHP min version
Downloads22K

Community Trust

Rating86/100
Number of ratings3
Active installs600
Developer Profile

MetalpriceAPI Developer Profile

metalpriceapi

1 plugin · 600 total installs

93
trust score
Avg Security Score
98/100
Avg Patch Time
15 days
View full developer profile
Detection Fingerprints

How We Detect MetalpriceAPI

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/metalpriceapi/assets/css/frontend.css
Script Paths
/wp-content/plugins/metalpriceapi/assets/js/frontend.js
Version Parameters
metalpriceapi/assets/css/frontend.css?ver=metalpriceapi/assets/js/frontend.js?ver=

HTML / DOM Fingerprints

Shortcode Output
[metalpriceapi][metalpriceapi_change][metalpriceapi_carat]
FAQ

Frequently Asked Questions about MetalpriceAPI