# CVE-2025-59431: MapServer - WFS XML Filter Query SQL injection

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability: affected before 8.4.1 (CNA); fix release not confirmed
- Status: published
- Published: 2025-09-19 · Modified: 2025-09-19
- Aliases: UBUNTU-CVE-2025-59431, DEBIAN-CVE-2025-59431
- Record: https://cvemate.com/vulnerability/CVE-2025-59431 · JSON: https://cvemate.com/vulnerability/CVE-2025-59431/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.43%, percentile 39.138%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian mapserver (Debian): \< 8.0.0-3+deb12u1 \| \< 8.4.0-4+deb13u1 \| \< 8.4.1-1
- ubuntu mapserver (Ubuntu): All versions (No fix recorded)
- mapserver mapserver: \< 8.4.1
- osgeo mapserver: 8.4.0

## References

- <https://github.com/MapServer/MapServer/security/advisories/GHSA-256m-rx4h-r55w>
- <https://ubuntu.com/security/CVE-2025-59431>
- <https://www.cve.org/CVERecord?id=CVE-2025-59431>
- <https://security-tracker.debian.org/tracker/CVE-2025-59431>

---

Data as of 2026-12-05T09:59:52.785Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
