Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-4284

A vulnerability classified as problematic has been found in OpenMRS HTML Form Entry UI Framework Integration Module up to 1.x. This affects an unknown part. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely. Upgrading to version 2.0.0 is able to address this issue. The name of the patch is 811990972ea07649ae33c4b56c61c3b520895f07. It is recommended to upgrade the affected component. The identifier VDB-216873 was assigned to this vulnerability.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-4284
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 12:53 UTC · Revision 1

Source evidence

CVE-2021-4284

core-osv · Original source

Published 27 Dec 2022, 10:15 UTC

A vulnerability classified as problematic has been found in OpenMRS HTML Form Entry UI Framework Integration Module up to 1.x. This affects an unknown part. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely. Upgrading to version 2.0.0 is able to address this issue. The name of the patch is 811990972ea07649ae33c4b56c61c3b520895f07. It is recommended to upgrade the affected component. The identifier VDB-216873 was assigned to this vulnerability.

osv:CVE-2021-4284
Complete source record
{
  "id": "9bddfa1b132f2b99fe8e0816608e13c769cca3be73c1651303a44761e4b05a35",
  "url": "https://osv.dev/vulnerability/CVE-2021-4284",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-4284",
    "summary": "A vulnerability classified as problematic has been found in OpenMRS HTML Form Entry UI Framework Integration Module up to 1.x. This affects an unknown part. The manipulation leads to cross site scripting. It is possible to initiate the attack remotely. Upgrading to version 2.0.0 is able to address this issue. The name of the patch is 811990972ea07649ae33c4b56c61c3b520895f07. It is recommended to upgrade the affected component. The identifier VDB-216873 was assigned to this vulnerability.",
    "evidence": "osv:CVE-2021-4284",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-4284",
      "aliases": [
        "CVE-2021-4284"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/openmrs/openmrs-module-htmlformentryui",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "5ad8f57fcbdfe78906e6e9084adc92218decb7fa"
                },
                {
                  "fixed": "811990972ea07649ae33c4b56c61c3b520895f07"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openmrs:htmlformentryui:*:*:*:*:*:openmrs:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.0.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "811990972ea07649ae33c4b56c61c3b520895f07"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "5ad8f57fcbdfe78906e6e9084adc92218decb7fa"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "2.0.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.11.2",
            "1.11.1",
            "1.11.0",
            "1.10.0",
            "1.8.0",
            "1.6.4",
            "1.6.3",
            "1.6.2",
            "1.6.1",
            "1.6.0",
            "1.5",
            "1.4",
            "1.3",
            "1.2",
            "1.1",
            "1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4284.json",
            "vanir_signatures": [
              {
                "id": "CVE-2021-4284-4b7ddfb3",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "316416570533100756563990470494029544627",
                    "232675585270282575703721735198127932159",
                    "260522975631542909591953771199575292066",
                    "222247025802000278747012844813455752037"
                  ]
                },
                "source": "https://github.com/openmrs/openmrs-module-htmlformentryui/commit/811990972ea07649ae33c4b56c61c3b520895f07",
                "target": {
                  "file": "omod/src/main/java/org/openmrs/module/htmlformentryui/fragment/controller/htmlform/EnterHtmlFormFragmentController.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-4284-e423751c",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "24765442936484296923322942033461915079",
                    "225582365638506778308800504513920534308",
                    "266242474587789058845558077073809835569",
                    "220575004248820678593359042864594358392"
                  ]
                },
                "source": "https://github.com/openmrs/openmrs-module-htmlformentryui/commit/811990972ea07649ae33c4b56c61c3b520895f07",
                "target": {
                  "file": "omod/src/main/java/org/openmrs/module/htmlformentryui/page/controller/htmlform/ViewEncounterWithHtmlFormPageController.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              },
              {
                "id": "CVE-2021-4284-e773db9b",
                "digest": {
                  "threshold": 0.9,
                  "line_hashes": [
                    "137735374113214120808875287244197607021",
                    "160899040555298090918806755937194448599",
                    "201530260939305523247598112127747405804",
                    "323857314311562095574196800920102159361"
                  ]
                },
                "source": "https://github.com/openmrs/openmrs-module-htmlformentryui/commit/811990972ea07649ae33c4b56c61c3b520895f07",
                "target": {
                  "file": "api/src/main/java/org/openmrs/module/htmlformentryui/HtmlFormUtil.java"
                },
                "deprecated": false,
                "signature_type": "Line",
                "signature_version": "v1"
              }
            ],
            "vanir_signatures_modified": "2026-10-20T14:28:25Z"
          }
        }
      ],
      "modified": "2026-10-20T14:28:25.240487050Z",
      "provider": "osv",
      "references": [
        "https://github.com/openmrs/openmrs-module-htmlformentryui/releases/tag/2.0.0",
        "https://vuldb.com/?ctiid.216873",
        "https://vuldb.com/?id.216873",
        "https://issues.openmrs.org/browse/RA-1424?filter=-1",
        "https://github.com/openmrs/openmrs-module-htmlformentryui/commit/811990972ea07649ae33c4b56c61c3b520895f07",
        "https://github.com/openmrs/openmrs-module-htmlformentryui/pull/51"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-4284",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 389060,
  "published_at": "2022-12-27T10:15:11.75+00:00"
}