Ip2country Security & Risk Analysis

wordpress.org/plugins/ip2country

Plugin converts IP-address to the country.

10 active installs v1.3 PHP + WP 3.0+ Updated Aug 9, 2020
countrygeolocationipip-to-countryip2country
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Ip2country Safe to Use in 2026?

Generally Safe

Score 85/100

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

No known CVEs Updated 5yr ago
Risk Assessment

The ip2country plugin v1.3 exhibits a mixed security posture. On the positive side, the plugin has a remarkably small attack surface with no registered AJAX handlers, REST API routes, shortcodes, or cron events, and no external HTTP requests or file operations. All identified outputs are properly escaped, which is a strong security practice. However, significant concerns arise from the static analysis. The presence of raw SQL queries without prepared statements is a notable risk, as is the single taint flow identified with an unsanitized path and flagged as high severity. This suggests a potential for code injection or data manipulation if the unsanitized data is not handled correctly within the plugin's logic, even if the attack surface appears limited. The complete lack of vulnerability history, while seemingly good, could also indicate that the plugin hasn't been thoroughly tested or audited, leaving potential vulnerabilities undiscovered. Overall, while the plugin avoids many common WordPress vulnerabilities, the identified raw SQL and critical taint flow warrant attention.

Key Concerns

  • Raw SQL queries without prepared statements
  • High severity unsanitized taint flow
Vulnerabilities
None known

Ip2country Security Vulnerabilities

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

Ip2country Release Timeline

v1.3Current
v1.2
v1.1.0
v1.0.0
Code Analysis
Analyzed Mar 17, 2026

Ip2country Code Analysis

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

SQL Query Safety

0% prepared2 total queries
Data Flows · Security
1 unsanitized

Data Flow Analysis

1 flows1 with unsanitized paths
<ip2country> (ip2country.php:0)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Ip2country Attack Surface

Entry Points0
Unprotected0
WordPress Hooks 1
filterplugin_row_metaip2country.php:66
Maintenance & Trust

Ip2country Maintenance & Trust

Maintenance Signals

WordPress version tested5.4.19
Last updatedAug 9, 2020
PHP min version
Downloads4K

Community Trust

Rating0/100
Number of ratings0
Active installs10
Developer Profile

Ip2country Developer Profile

webvitaly

14 plugins · 128K total installs

66
trust score
Avg Security Score
81/100
Avg Patch Time
396 days
View full developer profile
Detection Fingerprints

How We Detect Ip2country

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 Ip2country