CVE-2026-4060
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedThe Geo Mashup plugin for WordPress is vulnerable to Time-Based SQL Injection via the 'sort' parameter in all versions up to, and including, 1.13.18. This is due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. The `esc_sql()` function is applied but is ineffective in the `ORDER BY` context because the value is not enclosed in quotes. Additionally, while a `sanitize_sort_arg()` allowlist-based sanitizer was added in version 1.13.18, it is only applied in the AJAX code path (`sanitize_query_args()`) and not in the `render-map.php` or template tag code paths. This makes it possible for unauthenticated attackers to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database via a time-based blind approach.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceThe Geo Mashup WordPress plugin (versions up to 1.13.18) contains a time-based SQL injection vulnerability in the 'sort' parameter. While a sanitize_sort_arg() allowlist-based sanitizer exists in version 1.13.18, it is only applied in the AJAX code path and not in render-map.php or template tag code paths, leaving those paths exploitable. The esc_sql() function is ineffective because the value is not enclosed in quotes in the ORDER BY context, allowing unauthenticated attackers to append malicious SQL queries.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- None
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Confirm Geo Mashup plugin is installedCheck the WordPress plugins directory or wp-admin plugins list for 'Geo Mashup' and note the installed version numberAffected if Plugin is not installed or version is not determinable
-
Identify the installed versionLocate the main plugin file (geo-mashup.php or similar) and read the version header, or query the database wp_options table for the 'geo_mashup_version' optionAffected if Version is 1.13.18 or lower
-
Determine if non-AJAX code paths are in useSearch the codebase for includes of 'render-map.php' or usage of template tags such as 'GeoMashup::render_map()' or 'geo_mashup_render_map()' - these indicate non-AJAX paths where the sanitizer may not be appliedAffected if render-map.php is included or template tag functions are called in theme/custom code
-
Inspect the sort parameter handling in render-map.phpIf render-map.php exists in the plugin, open it and locate the 'sort' parameter handling - verify whether sanitize_sort_arg() is called before the ORDER BY clause constructionAffected if sort parameter is processed without sanitize_sort_arg() or the function is absent in this file
-
Check if the sort parameter is user-controlledReview how the sort parameter flows from user input (GET/POST request) to the SQL query - verify whether it reaches the database query without proper allowlist validation in non-AJAX contextsAffected if User-supplied 'sort' parameter reaches the ORDER BY clause without allowlist-based validation in render-map.php or template tag paths
The environment is affected if Geo Mashup plugin versions 1.13.18 or lower are installed AND non-AJAX code paths (render-map.php or template tags) are actively used, as the incomplete fix only sanitizes the AJAX route.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpdate to version 1.13.18 or later AND ensure the sanitization fix is applied across ALL code paths (AJAX, render-map.php, and template tags); alternatively, implement proper parameter validation/allowlisting in non-AJAX paths until full patch is available.
Version after 1.13.19 (contact vendor for exact version with complete fix)
- Check the current version of the Geo Mashup plugin installed on your WordPress site
- Navigate to Plugins > Installed Plugins in the WordPress admin dashboard
- Locate Geo Mashup and note the current version number
- Visit the official WordPress plugin repository or contact the vendor to confirm the latest stable release that fully addresses the SQL injection in all code paths (not just AJAX)
- Update the plugin to the latest version that includes complete remediation of the 'sort' parameter sanitization across render-map.php and template tag code paths
- Verify the update was successful and test that map functionality works correctly
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation4.0 h
- Implementation8.0 h
- Testing4.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $5,120.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-4060 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-4060 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data