MK Google Directions Security & Risk Analysis

wordpress.org/plugins/google-distance-calculator

Enable use of Google Directions in your WordPress blog.

100 active installs v3.1.1 PHP + WP 6.0+ Updated Feb 25, 2025
google-directiongoogle-driving-directionsgoogle-maps-and-directionsgoogle-maps-directionsgoogle-travel-directions
68
C · Use Caution
CVEs total2
Unpatched1
Last CVEFeb 19, 2026
Safety Verdict

Is MK Google Directions Safe to Use in 2026?

Use With Caution

Score 68/100

MK Google Directions has 1 unpatched vulnerability. Evaluate alternatives or apply available mitigations.

2 known CVEs 1 unpatched Last CVE: Feb 19, 2026Updated 1yr ago
Risk Assessment

The plugin "google-distance-calculator" v3.1.1 exhibits a mixed security posture. Static analysis reveals good practices in several areas, including the absence of dangerous functions, 100% use of prepared statements for SQL queries, and all detected outputs being properly escaped. The attack surface is also minimal, with only one shortcode and no unprotected entry points. However, a significant concern arises from the lack of nonce and capability checks across all entry points, despite the static analysis reporting zero unprotected entry points. This suggests a potential reliance on external checks or an oversight in the analysis itself.

The vulnerability history indicates a past medium-severity Cross-Site Scripting (XSS) vulnerability. While there are no currently unpatched CVEs, the existence of a past XSS issue, even if resolved, warrants attention and reinforces the need for robust input validation and output escaping, which the code analysis suggests is present in its current form.

In conclusion, while the current code demonstrates strong practices regarding SQL and output handling, the absence of nonce and capability checks on its entry points is a notable weakness. The past XSS vulnerability serves as a reminder of potential risks. A balanced view suggests this plugin is generally well-coded but has areas that could be strengthened to further mitigate risks, particularly concerning authentication and authorization at its entry points.

Key Concerns

  • Missing nonce checks on entry points
  • Missing capability checks on entry points
  • Past medium severity XSS vulnerability
Vulnerabilities
2 published

MK Google Directions Security Vulnerabilities

CVEs by Year

1 CVE in 2025
2025
1 CVE in 2026 · unpatched
2026
Patched Has unpatched

Severity Breakdown

Medium
2

2 total CVEs

CVE-2026-39674medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

MK Google Directions <= 3.1.1 - Authenticated (Contributor+) Stored Cross-Site Scripting

Feb 19, 2026Unpatched
CVE-2024-12820medium · 6.4Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

MK Google Directions <= 3.1 - Authenticated (Contributor+) Stored Cross-Site Scripting

Feb 27, 2025 Patched in 3.1.1 (1d)
Code Analysis
Analyzed Mar 16, 2026

MK Google Directions Code Analysis

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

Output Escaping

100% escaped10 total outputs
Attack Surface

MK Google Directions Attack Surface

Entry Points1
Unprotected0

Shortcodes 1

[MKGD] mk-google-directions.php:76
WordPress Hooks 1
actionwp_enqueue_scriptsmk-google-directions.php:24
Maintenance & Trust

MK Google Directions Maintenance & Trust

Maintenance Signals

WordPress version tested6.7.5
Last updatedFeb 25, 2025
PHP min version
Downloads13K

Community Trust

Rating68/100
Number of ratings5
Active installs100
Alternatives

MK Google Directions Alternatives

No alternatives data available yet.

Developer Profile

MK Google Directions Developer Profile

Manoj Kumar

3 plugins · 250 total installs

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

How We Detect MK Google Directions

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

Asset Fingerprints

Asset Paths
/wp-content/plugins/google-distance-calculator/css/mkgd-styles.css
Script Paths
/wp-content/plugins/google-distance-calculator/js/mkgd.js
Version Parameters
google-distance-calculator/css/mkgd-styles.css?ver=google-distance-calculator/js/mkgd.js?ver=

HTML / DOM Fingerprints

CSS Classes
mkgd-wrapmkg-headermkgd-bodymkgdMapmkgdDirections
Data Attributes
id="txtSource-id="txtDestination-id="dvMap-id="dvPanel-
JS Globals
directionsDisplay
Shortcode Output
<div class="mkgd-wrap"><div class="mkg-header"><div class="mkgd-body"><div class="mkgdMap" id="dvMap-" style="width:
FAQ

Frequently Asked Questions about MK Google Directions