OSM – OpenStreetMap <= 6.0.3 - Authenticated (Contributor+) SQL Injection

9.9
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVE CVE-2024-3604
CVSS 9.9 (Critical)
Publicly Published July 8, 2024
Last Updated September 27, 2024
Researcher Krzysztof Zając - CERT PL

Description

The OSM – OpenStreetMap plugin for WordPress is vulnerable to SQL Injection via the 'tagged_filter' attribute of the 'osm_map_v3' shortcode in all versions up to, and including, 6.0.3 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with contributor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database.

Learn more about SQL Injection vulnerabilities and how to prevent them.

References

Share

Vulnerability Details for OSM – OpenStreetMap

Software Type Plugin
Software Slug osm (view on wordpress.org)
Patched? Yes
Remediation Update to version 6.0.4, or a newer patched version
Affected Version
  • <= 6.0.3
Patched Version
  • 6.0.4

Recent vulnerabilities in OSM – OpenStreetMap

# Title CVE ID CVSS Researchers Date
1 OSM <= 6.1.15 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'marker_name' Shortcode Attribute CVE-2026-4429 6.4 Nguyen Ngoc Duc (duc193) April 8, 2026
2 OSM – OpenStreetMap <= 6.1.12 - Missing Authorization CVE-2026-25323 4.3 Nabil Irawan January 29, 2026
3 OSM – OpenStreetMap <= 6.1.13 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2025-31557 6.4 Muhammad Yudha - DJ March 31, 2025
4 OSM – OpenStreetMap <= 6.1.2 - Authenticated (Contributor+) Stored Cross-Site Scripting CVE-2024-52355 6.4 Junwoo Kang November 8, 2024
5 OSM <= 6.1.0 - Authenticated (Contributor+) Stored Cross-Site Scripting via osm_map and osm_map_v3 Shortcodes CVE-2024-8991 6.4 Peter Thaleikis September 26, 2024
6 OSM – OpenStreetMap <= 6.0.3 - Authenticated (Contributor+) Stored Cross-Site Scripting via Shortcode CVE-2024-3603 6.4 Krzysztof Zając July 8, 2024
7 OSM - OpenStreetMap <= 6.0.5 - Authenticated(Contributor+) Stored Cross-Site Scripting via 'osm_map' Shortcode CVE-2022-4676 6.4 István Márton May 3, 2023
8 OSM - OpenStreetMap <= 6.0 - Cross-Site Request Forgery CVE-2022-30544 8.8 Rasi Afeef September 30, 2022

Did you know Wordfence Intelligence provides free personal and commercial API access to our comprehensive WordPress vulnerability database, along with a free webhook integration to stay on top of the latest vulnerabilities added and updated in the database? Get started today!

Learn more

Want to get notified of the latest vulnerabilities that may affect your WordPress site?
Install Wordfence on your site today to get notified immediately if your site is affected by a vulnerability that has been added to our database.

Get Wordfence

The Wordfence Intelligence WordPress vulnerability database is completely free to access and query via API. Please review the documentation on how to access and consume the vulnerability data via API.

Documentation