Vulnerability · Published Sep 19, 2025 · Assigned by GitHub_M
CVE-2025-59431MapServer - WFS XML Filter Query SQL injection
High 8.9
In plain English
A high-severity SQL injection in MapServer from MapServer. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 36% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | mapserver | 8.0.0-3+deb12u1 | DEBIAN-CVE-2025-59431 |
| Debian:13 | mapserver | 8.4.0-4+deb13u1 | DEBIAN-CVE-2025-59431 |
| Debian:14 | mapserver | 8.4.1-1 | DEBIAN-CVE-2025-59431 |
| Ubuntu:22.04:LTS | mapserver | no fix listed | UBUNTU-CVE-2025-59431 |
| Ubuntu:24.04:LTS | mapserver | no fix listed | UBUNTU-CVE-2025-59431 |
| Ubuntu:25.10 | mapserver | no fix listed | UBUNTU-CVE-2025-59431 |
| Ubuntu:26.04:LTS | mapserver | no fix listed | UBUNTU-CVE-2025-59431 |
| Ubuntu:26.10 | mapserver | no fix listed | UBUNTU-CVE-2025-59431 |
Affected products (as reported)
Weakness: CWE-89 · Vector: 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
References
- https://github.com/MapServer/MapServer/security/advisories/GHSA-256m-rx4h-r55w x_refsource_CONFIRM