Medium
Security advisory
An authenticated SQL injection issue in the calendar search function of OpenEMR 6.0.0 before patch 3 allows an attacker to read data from all tables of the database via the parameter provider_id, as demonstrated by the /interface/main/calendar/index.php?module=PostCalendar&func=search URI.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-41843
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:40 UTC · Revision 1
Source evidence
An authenticated SQL injection issue in the calendar search function of OpenEMR 6.0.0 before patch 3 allows an attacker to read data from all tables of the database via the parameter provider_id, as demonstrated by the /interface/main/calendar/index.php?module=PostCalendar&func=search URI.
osv:CVE-2021-41843
Complete source record
{
"id": "153fe5254cb6aa82d04152c9b6880fff4e12d3648c8379b6d34e5d53781ed9f7",
"url": "https://osv.dev/vulnerability/CVE-2021-41843",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-41843",
"summary": "An authenticated SQL injection issue in the calendar search function of OpenEMR 6.0.0 before patch 3 allows an attacker to read data from all tables of the database via the parameter provider_id, as demonstrated by the /interface/main/calendar/index.php?module=PostCalendar&func=search URI.",
"evidence": "osv:CVE-2021-41843",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-41843",
"aliases": [
"CVE-2021-41843"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/openemr/openemr",
"type": "GIT",
"events": [
{
"introduced": "4c3f9f5917d765f944cdbf3b9df15375476b3711"
},
{
"last_affected": "d132c54f3509537c508fd40c08a27929b61cac1d"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:open-emr:openemr:6.0.0:-:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0-NA"
},
{
"last_affected": "6.0.0-NA"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:open-emr:openemr:6.0.0:patch_1:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0-patch_1"
},
{
"last_affected": "6.0.0-patch_1"
}
],
"source": "CPE_STRING"
},
{
"cpe": "cpe:2.3:a:open-emr:openemr:6.0.0:patch_2:*:*:*:*:*:*",
"range": [
{
"introduced": "6.0.0-patch_2"
},
{
"last_affected": "6.0.0-patch_2"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"6.0.0-NA",
"6.0.0-patch_1",
"6.0.0-patch_2",
"v6_0_0_2",
"v6_0_0_1",
"v6_0_0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41843.json"
}
}
],
"modified": "2026-10-24T10:30:56.732795421Z",
"provider": "osv",
"references": [
"https://trovent.github.io/security-advisories/TRSA-2109-01/TRSA-2109-01.txt",
"https://trovent.io/security-advisory-2109-01"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-41843",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 438718,
"published_at": "2021-12-17T04:15:38.81+00:00"
}