{"id":"CVE-2025-59431","summary":"MapServer - WFS XML Filter Query SQL injection","details":"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.","aliases":["GHSA-256m-rx4h-r55w"],"modified":"2026-08-12T03:51:14.300851584Z","published":"2025-09-19T19:29:13.163Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-89"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59431.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/59xxx/CVE-2025-59431.json"},{"type":"ADVISORY","url":"https://github.com/MapServer/MapServer/security/advisories/GHSA-256m-rx4h-r55w"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59431"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mapserver/mapserver","events":[{"introduced":"03bf9c1442782c4e1c413b8a03bf979177a2d160"},{"fixed":"b23d85c90ca3760ac1c02e6ae08f017930144586"}],"database_specific":{"cpe":"cpe:2.3:a:osgeo:mapserver:8.4.0:-:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"8.4.1"},{"introduced":"8.4.0-NA"},{"last_affected":"8.4.0-NA"}],"source":["AFFECTED_FIELD","CPE_STRING"]}}],"versions":["8.4.0-NA","rel-8-4-0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-59431.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}