SQL injection in MapServer - CVE-2025-59431
Published: September 23, 2025
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data passed via the PropertyName directive in the XML Filter Query. A remote attacker can send a specially crafted request to the affected application and execute arbitrary SQL commands within the application database.
Successful exploitation of this vulnerability may allow a remote attacker to read, delete, modify data in database and gain complete control over the affected application.
Affected software
Fedora
mapserver
How to mitigate CVE-2025-59431
mapserver - addressed in versions 8.4.1-1.fc41, 8.4.1-1.fc42, 8.4.1-1.fc43