{"id":"CVE-2021-41843","details":"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.","modified":"2026-04-10T04:38:47.094343Z","published":"2021-12-17T04:15:38.810Z","references":[{"type":"EVIDENCE","url":"http://packetstormsecurity.com/files/165301/OpenEMR-6.0.0-6.1.0-dev-SQL-Injection.html"},{"type":"EVIDENCE","url":"http://seclists.org/fulldisclosure/2021/Dec/38"},{"type":"EVIDENCE","url":"https://trovent.github.io/security-advisories/TRSA-2109-01/TRSA-2109-01.txt"},{"type":"EVIDENCE","url":"https://trovent.io/security-advisory-2109-01"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openemr/openemr","events":[{"introduced":"0"},{"last_affected":"4c3f9f5917d765f944cdbf3b9df15375476b3711"},{"introduced":"0"},{"last_affected":"ea4c4bd0953defc7b90acc891aa1805db659fb67"},{"introduced":"0"},{"last_affected":"d132c54f3509537c508fd40c08a27929b61cac1d"}],"database_specific":{"versions":[{"introduced":"0"},{"last_affected":"6.0.0-NA"},{"introduced":"0"},{"last_affected":"6.0.0-patch_1"},{"introduced":"0"},{"last_affected":"6.0.0-patch_2"}]}}],"versions":["v2_7_2","v2_7_2-rc1","v2_7_2-rc2","v2_7_3-rc1","v2_8_0","v2_8_1","v2_8_2","v2_8_3","v2_9_0","v3_0_0","v3_0_1","v6_0_0","v6_0_0_1","v6_0_0_2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-41843.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"}]}