---
id: CVE-2026-15072
title: >-
  The KiviCare – Clinic & Patient Management System (EHR) plugin for WordPress
  is vulnerable to generic SQL Injection via the 'orderby' parameter in all
  versions up to, and including, 4.5.0 due to insufficient escaping on the user
  supplied…
summary: >-
  The KiviCare – Clinic & Patient Management System (EHR) plugin for WordPress
  is vulnerable to generic SQL Injection via the 'orderby' parameter in all
  versions up to, and including, 4.5.0 due to insufficient escaping on the user
  supplied…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-89
published: '2026-07-11'
updated: '2026-07-11'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-15072'
references:
  - url: >-
      https://plugins.trac.wordpress.org/browser/kivicare-clinic-management-system/tags/4.5.0/app/baseClasses/KCQueryBuilder.php#L1283
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/kivicare-clinic-management-system/tags/4.5.0/app/baseClasses/KCQueryBuilder.php#L245
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/kivicare-clinic-management-system/tags/4.5.0/app/baseClasses/KCQueryBuilder.php#L470
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/kivicare-clinic-management-system/tags/4.5.0/app/controllers/api/DoctorSessionController.php#L1208
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/kivicare-clinic-management-system/tags/4.5.0/app/controllers/api/DoctorSessionController.php#L1282
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/browser/kivicare-clinic-management-system/tags/4.5.0/app/controllers/api/DoctorSessionController.php#L87
    label: security@wordfence.com
  - url: >-
      https://plugins.trac.wordpress.org/changeset?reponame=&old=3602561%40kivicare-clinic-management-system&new=3602561%40kivicare-clinic-management-system
    label: security@wordfence.com
  - url: >-
      https://www.wordfence.com/threat-intel/vulnerabilities/id/e2857fd0-2401-4e38-aa8a-3f0a89e14b78?source=cve
    label: security@wordfence.com
tags:
  - nvd
epss: 0.00472
epssPercentile: 0.40042
ingestedAt: '2026-07-11T22:16:01.167Z'
---

## Overview

The KiviCare – Clinic & Patient Management System (EHR) plugin for WordPress is vulnerable to generic SQL Injection via the 'orderby' parameter in all versions up to, and including, 4.5.0 due to insufficient escaping on the user supplied parameter and lack of sufficient preparation on the existing SQL query. This makes it possible for authenticated attackers, with doctor-level access and above, to append additional SQL queries into already existing queries that can be used to extract sensitive information from the database. This requires that the attacker hold at minimum a KiviCare Doctor-level account, or a Receptionist or Clinic Admin role that grants the doctor_session_list capability.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
