SQL Injection in Mapserver
CVE-2025-59431
MapServer is a system for developing web-based GIS applications. Prior to 8.4.1, the XML Filter Query directive PropertyName is vulnerably to Boolean-based SQL injection. It seems like expression checking is bypassed by introducing double quote characters in the PropertyName. Allowing to manipulate backend database queries. This vulnerability is fixed in 8.4.1.
Vulnerability class: SQL Injection
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (33.3th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 33rd percentile — 33.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Mapserver — versions < 8.4.1
- Osgeo Mapserver — versions 8.4.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/MapServer/MapServer/security/advisories/GHSA-256m-rx4h-r55w (Exploit, Vendor Advisory)
Frequently asked questions
- What is CVE-2025-59431?
- CVE-2025-59431 is a critical-severity vulnerability in Mapserver, classified under SQL Injection. CVSS score: 9.8/10. Published 2025-09-19.
- How severe is CVE-2025-59431?
- Critical severity. CVSS v3 base score is 9.8 out of 10.
- Is CVE-2025-59431 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.