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

- Severity: High 8.9 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.43%, higher than 39% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-09-19T19:29:13.163Z
- Modified: 2026-10-19T16:10:00.260Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- 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.

(As written by CVE List.)

## Affected

- MapServer MapServer: < 8.4.1
- osgeo mapserver: 8.4.0

## Every score

- GitHub_M: CVSS:4.0 8.9 High `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: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MapServer/MapServer/security/advisories/GHSA-256m-rx4h-r55w> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2025-59431](https://www.cve.org/CVERecord?id=CVE-2025-59431), CVE Terms of Use, modified 2025-09-19
- NVD: [CVE-2025-59431](https://nvd.nist.gov/vuln/detail/CVE-2025-59431), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-59431 · Whole record: https://cve.day/CVE-2025-59431.json · Rebuilt by cve.day 2026-11-25T22:59:04.892Z
