OpenEMR is a free and open source electronic health records and medical practice management application. Prior to version 8.0.0.3, the PostCalendar module contains a blind SQL injection vulnerability in the `categoriesUpdate` administrative function. The `dels` POST parameter is read via `pnVarCleanFromInput()`, which only strips HTML tags and performs no SQL escaping. The value is then interpolated directly into a raw SQL `DELETE` statement that is executed unsanitized via Doctrine DBAL's `executeStatement()`. Version 8.0.0.3 patches the issue.
https://github.com/openemr/openemr/security/advisories/GHSA-rq3v-38x5-3rm5
https://github.com/openemr/openemr/releases/tag/v8_0_0_3
https://github.com/openemr/openemr/commit/1b851fc9af84f181ad7a84210a168d0d568cd442