Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: 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. By leveraging path traversal, a malicious Velocity Template Language file could be written to a directory. This file could then be accessed and executed.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2020-24621
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:06 UTC · Revision 1

Source evidence

CVE-2020-24621

core-osv · Original source

Published 25 Sept 2020, 04:23 UTC

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.

osv:CVE-2020-24621
Complete source record
{
  "id": "26ba72fe870e4a621884df0a811db6772fed7c9684e00ea606f9f0856f8a9ffd",
  "url": "https://osv.dev/vulnerability/CVE-2020-24621",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2020-24621",
    "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.",
    "evidence": "osv:CVE-2020-24621",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2020-24621",
      "aliases": [
        "CVE-2020-24621"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openmrs/openmrs-module-htmlformentry",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "56e5ededf74f1bb9d23270db73dfed93ce70c508"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openmrs:htmlformentry:*:*:*:*:*:openmrs:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.11.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "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"
          }
        }
      ],
      "modified": "2026-10-20T10:52:51.734021341Z",
      "provider": "osv",
      "references": [
        "https://issues.openmrs.org/browse/HTML-730",
        "https://www.contrastsecurity.com/security-influencers",
        "https://github.com/openmrs/openmrs-module-htmlformentry/pull/178",
        "https://github.com/openmrs/openmrs-module-uiframework/pull/59",
        "https://www.contrastsecurity.com/security-influencers/authenticated-remote-code-execution-openmrs"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2020-24621",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 383967,
  "published_at": "2020-09-25T04:23:04.467+00:00"
}