Ipgp User Country Flag Security & Risk Analysis

wordpress.org/plugins/ipgp-user-country-flag

This plugin will allow you to show a flag of your visitors country. When a user goes to your website he will see a flag of its own country, based on t …

30 active installs v1.2 PHP + WP 2.0.2+ Updated Feb 3, 2023
country-flagflagip-address-lookupuser-country-flagwidget
85
A · Safe
CVEs total0
Unpatched0
Last CVENever
Safety Verdict

Is Ipgp User Country Flag Safe to Use in 2026?

Generally Safe

Score 85/100

Ipgp User Country Flag has no known CVEs and is actively maintained. It's a solid choice for most WordPress installations.

No known CVEs Updated 3yr ago
Risk Assessment

The ipgp-user-country-flag plugin version 1.2 exhibits a mixed security posture. On one hand, it demonstrates good practices by avoiding dangerous functions, utilizing prepared statements for all SQL queries, and having no known CVEs. The attack surface is also limited, with only one entry point being a shortcode, and no AJAX or REST API endpoints found. However, significant concerns arise from the complete lack of output escaping, as all three identified output points are unescaped. This presents a high risk of Cross-Site Scripting (XSS) vulnerabilities. Additionally, the absence of nonce and capability checks on its single entry point (the shortcode) means that any authenticated user, regardless of their role, could potentially trigger its functionality, although the impact would be mitigated if the shortcode itself doesn't process user input in a vulnerable way. The taint analysis revealing unsanitized paths is concerning, indicating that user-controlled data might be processed without proper validation, although no critical or high severity flows were identified in this version. The plugin's clean vulnerability history is a positive sign, but the current code analysis reveals areas that require immediate attention to prevent exploitation.

Key Concerns

  • Unescaped output detected
  • No nonce check on entry points
  • No capability check on entry points
  • Taint flows with unsanitized paths
Vulnerabilities
None known

Ipgp User Country Flag Security Vulnerabilities

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

Ipgp User Country Flag Code Analysis

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

Output Escaping

0% escaped3 total outputs
Data Flows
2 unsanitized

Data Flow Analysis

2 flows2 with unsanitized paths
ipgp_flag (ipgp-flag.php:12)
Source (user input) Sink (dangerous op) Sanitizer Transform Unsanitized Sanitized
Attack Surface

Ipgp User Country Flag Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[ipflag] ipgp-flag.php:62
WordPress Hooks 2
actionplugins_loadedipgp-flag.php:66
actionadmin_menuipgp-flag.php:77
Maintenance & Trust

Ipgp User Country Flag Maintenance & Trust

Maintenance Signals

WordPress version tested6.1.10
Last updatedFeb 3, 2023
PHP min version
Downloads8K

Community Trust

Rating100/100
Number of ratings1
Active installs30
Developer Profile

Ipgp User Country Flag Developer Profile

Lucian Apostol

6 plugins · 3K total installs

69
trust score
Avg Security Score
86/100
Avg Patch Time
457 days
View full developer profile
Detection Fingerprints

How We Detect Ipgp User Country Flag

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

Asset Fingerprints

HTML / DOM Fingerprints

Shortcode Output
[ipflag]
FAQ

Frequently Asked Questions about Ipgp User Country Flag