CVE-2020-24621 json
A remote code execution (RCE) vulnerability was discovered in the htmlformentry (aka HTML Form Entry) module before 3.11.0 for OpenMRS.
published 2020-09-25 6 y ago modified 2026-06-17 4 mo ago also EUVD-2020-17337
- cvss
- 8.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.1%
- EPSS 3.1% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- openmrs htmlformentry 3.11.0
- github.com/openmrs/openmrs-module-htmlformentry#178 pull request
- github.com/openmrs/openmrs-module-uiframework#59 pull request
Exploit prediction
3.15% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- contrastsecurity.com https://www.contrastsecurity.com/security-influencers/authenticated-remote-code-execution-openmrs referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/openmrs/openmrs-module-htmlformentry/pull/178
patch, third-party-advisory
-
github.com
/openmrs/openmrs-module-uiframework/pull/59
patch, third-party-advisory
-
contrastsecurity.com
/security-influencers/authenticated-remote-code-execution-openmrs
exploit, third-party-advisory
-
issues.openmrs.org
/browse/HTML-730
vendor-advisory
-
contrastsecurity.com
/security-influencers
third-party-advisory
Sources
- CVE List CVE-2020-24621
- NVD CVE-2020-24621
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.