{"id":"CVE-2020-24621","details":"A remote code execution (RCE) vulnerability was discovered in the htmlformentry (aka HTML Form Entry) module before 3.11.0 for OpenMRS. By leveraging path traversal, a malicious Velocity Template Language file could be written to a directory. This file could then be accessed and executed.","modified":"2026-07-09T00:21:57.723054Z","published":"2020-09-25T04:23:04.467Z","references":[{"type":"ADVISORY","url":"https://issues.openmrs.org/browse/HTML-730"},{"type":"ADVISORY","url":"https://www.contrastsecurity.com/security-influencers"},{"type":"FIX","url":"https://github.com/openmrs/openmrs-module-htmlformentry/pull/178"},{"type":"FIX","url":"https://github.com/openmrs/openmrs-module-uiframework/pull/59"},{"type":"EVIDENCE","url":"https://www.contrastsecurity.com/security-influencers/authenticated-remote-code-execution-openmrs"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/openmrs/openmrs-module-htmlformentry","events":[{"introduced":"0"},{"fixed":"56e5ededf74f1bb9d23270db73dfed93ce70c508"}],"database_specific":{"source":"CPE_RANGE","cpe":"cpe:2.3:a:openmrs:htmlformentry:*:*:*:*:*:openmrs:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.11.0"}]}}],"versions":["3.10.0","3.9.2","3.8.0","3.7.0","3.6.0","3.5.1","3.3.2","3.3.1","3.3.0","3.1","3.0","2.7","2.5","htmlformentry-2.4","2.4","openmrs-1.7.x","openmrs-1.6.x","2.3","2.2.1","2.2","2.1.5","2.1.4.1","htmlformentry-2.1.4","2.1.3","2.1.2","2.1.1","2.1","2.0.8","2.0.7","2.0.6","2.0.5","2.0.4","2.0.3","2.0.2","2.0.1","2.0","v1.10.0","1.9.4","1.9.3","1.9.2","1.9.1","1.9.0","1.8.1","1.8.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-24621.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:H/A:H"}]}