Home

Description

The Geo Mashup plugin for WordPress is vulnerable to Time-Based SQL Injection via the 'map_post_type' parameter in all versions up to, and including, 1.13.18. This is due to the `SearchResults` hook explicitly calling `stripslashes_deep($_POST)` which removes WordPress magic quotes protection, followed by the unsanitized `map_post_type` value being concatenated into an `IN(...)` clause without `esc_sql()` or `$wpdb->prepare()`. The 'any' branch of the same code correctly applies `array_map('esc_sql', ...)`, but the else branch does not. 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. Exploitation requires the Geo Search feature to be enabled in plugin settings.

PUBLISHED Reserved 2026-03-12 | Published 2026-05-02 | Updated 2026-05-04 | Assigner Wordfence




HIGH: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Problem types

CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Product status

Default status
unaffected

Any version
affected

Timeline

2026-03-12:Vendor Notified
2026-05-01:Disclosed

Credits

Naoya Takahashi finder

References

www.wordfence.com/...-643e-49ca-b09c-bd7cfec328ee?source=cve

plugins.trac.wordpress.org/...mashup/trunk/geo-mashup-db.php

plugins.trac.wordpress.org/...nk/php/Hooks/SearchResults.php

plugins.trac.wordpress.org/...eo-mashup/trunk/php/Search.php

plugins.trac.wordpress.org/changeset/3503627/

cve.org (CVE-2026-4061)

nvd.nist.gov (CVE-2026-4061)

Download JSON