SQL injection in baserCMS - CVE-2026-62956
Published: July 30, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary SQL queries against the database.
The vulnerability exists due to SQL injection in MailMessagesService::getIndex() when processing the order and direction query parameters for the mail messages listing endpoint. A remote user can send a specially crafted request to execute arbitrary SQL queries against the database.
The injected payload may be persisted in the server-side session, causing re-execution on subsequent page loads, and the issue affects both the admin and API mail messages listing endpoints.