8.9high
MapServer - WFS XML Filter Query SQL injection
- Severity
- 8.9high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.43% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MapServer MapServer | < 8.4.1 | CVE List |
| osgeo mapserver | 8.4.0 | NVD |
All scores
| GitHub_M | 8.9high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.
What each source says
CVE List
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.
NVD (es)
MapServer es un sistema para desarrollar aplicaciones GIS basadas en web. Antes de 8.4.1, la directiva PropertyName de la consulta de filtro XML es vulnerable a la inyección SQL basada en booleanos. Parece que la comprobación de expresiones es eludida al introducir caracteres de comillas dobles en el PropertyName. Permitiendo manipular consultas de la base de datos de backend. Esta vulnerabilidad está corregida en 8.4.1.
References
| https://github.com/MapServer/MapServer/security/advisories/GHSA-256m-rx4h-r55w | exploit, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-59431 changed 2025-09-19 | CVE Terms of Use |
| NVD | CVE-2025-59431 changed 2026-10-19 | Public domain |