# CVE-2020-24621: A remote code execution (RCE) vulnerability was discovered in the htmlformentry (aka HTML Form Entry) module before 3.11.0 for OpenMRS.

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.15%, higher than 88% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-09-25T03:40:21.000Z
- Modified: 2026-06-17T03:05:52.460Z
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- openmrs htmlformentry: before 3.11.0

## Every score

- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://www.contrastsecurity.com/security-influencers/authenticated-remote-code-execution-openmrs> (exploit, third-party-advisory)
- <https://github.com/openmrs/openmrs-module-htmlformentry/pull/178> (patch, third-party-advisory)
- <https://issues.openmrs.org/browse/HTML-730> (vendor-advisory)
- <https://github.com/openmrs/openmrs-module-uiframework/pull/59> (patch, third-party-advisory)
- <https://www.contrastsecurity.com/security-influencers> (third-party-advisory)

## Sources

- CVE List: [CVE-2020-24621](https://www.cve.org/CVERecord?id=CVE-2020-24621), CVE Terms of Use, modified 2024-08-04
- NVD: [CVE-2020-24621](https://nvd.nist.gov/vuln/detail/CVE-2020-24621), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-24621 · Whole record: https://cve.day/CVE-2020-24621.json · Rebuilt by cve.day 2026-11-25T22:57:54.921Z
