#VU123016 SQL injection in Craft CMS - CVE-2026-25495
Published: February 18, 2026
Craft CMS
Pixel & Tonic, Inc.
Description
The vulnerability allows a remote attacker to execute arbitrary SQL queries in database.
The vulnerability exists due to insufficient sanitization of user-supplied data in the "criteria[orderBy]" parameter in the element-indexes/get-elements endpoint. A remote user 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.