CVE-2026-4060
The 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.
View on NVDAnalysis
This is a SQL injection vulnerability in a specific WordPress plugin (Geo Mashup) with a relatively small user base (approximately 5,000 active installs). While unauthenticated SQLi is a serious vulnerability, the limited reach of this specific plugin makes it noise for the broader community compared to core WordPress or high-volume plugin vulnerabilities.
Severity
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NCWE-89EPSS
Technical description
The 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.
References
- https://plugins.trac.wordpress.org/browser/geo-mashup/trunk/geo-mashup-db.php#L1767
- https://plugins.trac.wordpress.org/browser/geo-mashup/trunk/geo-mashup-db.php#L1785
- https://plugins.trac.wordpress.org/browser/geo-mashup/trunk/render-map.php#L166
- https://plugins.trac.wordpress.org/changeset/3503627/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/2fa5ae9a-532c-40f9-b70a-217f0f9cd473?source=cve