Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-4289

A vulnerability classified as problematic was found in OpenMRS openmrs-module-referenceapplication up to 2.11.x. Affected by this vulnerability is the function post of the file omod/src/main/java/org/openmrs/module/referenceapplication/page/controller/UserAppPageController.java of the component User App Page. The manipulation of the argument AppId leads to cross site scripting. The attack can be launched remotely. Upgrading to version 2.12.0 is able to address this issue. The name of the patch is 0410c091d46eed3c132fe0fcafe5964182659f74. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216883.

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

Source evidence

CVE-2021-4289

core-osv · Original source

Published 27 Dec 2022, 13:15 UTC

A vulnerability classified as problematic was found in OpenMRS openmrs-module-referenceapplication up to 2.11.x. Affected by this vulnerability is the function post of the file omod/src/main/java/org/openmrs/module/referenceapplication/page/controller/UserAppPageController.java of the component User App Page. The manipulation of the argument AppId leads to cross site scripting. The attack can be launched remotely. Upgrading to version 2.12.0 is able to address this issue. The name of the patch is 0410c091d46eed3c132fe0fcafe5964182659f74. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216883.

osv:CVE-2021-4289
Complete source record
{
  "id": "085816226af188e0c123cf89f6f1c7189ff8beb2c83818ef23b36e63d2c7f010",
  "url": "https://osv.dev/vulnerability/CVE-2021-4289",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-4289",
    "summary": "A vulnerability classified as problematic was found in OpenMRS openmrs-module-referenceapplication up to 2.11.x. Affected by this vulnerability is the function post of the file omod/src/main/java/org/openmrs/module/referenceapplication/page/controller/UserAppPageController.java of the component User App Page. The manipulation of the argument AppId leads to cross site scripting. The attack can be launched remotely. Upgrading to version 2.12.0 is able to address this issue. The name of the patch is 0410c091d46eed3c132fe0fcafe5964182659f74. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216883.",
    "evidence": "osv:CVE-2021-4289",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-4289",
      "aliases": [
        "CVE-2021-4289"
      ],
      "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-referenceapplication",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "eab6b289ed2a0b5f36e37bf2e3b039f82892f6c3"
                },
                {
                  "fixed": "0410c091d46eed3c132fe0fcafe5964182659f74"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:openmrs:reference_application:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "2.12.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "0410c091d46eed3c132fe0fcafe5964182659f74"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "eab6b289ed2a0b5f36e37bf2e3b039f82892f6c3"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "referenceapplication-2.12.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "referenceapplication-2.11.0",
            "referenceapplication-2.10.0",
            "referenceapplication-2.10.0-alpha",
            "referenceapplication-2.9.1",
            "referenceapplication-2.9.0",
            "referenceapplication-2.8.0",
            "referenceapplication-2.7.0",
            "referenceapplication-2.6.0",
            "2.5",
            "referenceapplication-2.3",
            "referenceapplication-2.2",
            "referenceapplication-2.1.1",
            "referenceapplication-2.1",
            "1.0.1",
            "1.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-4289.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:06.641096241Z",
      "provider": "osv",
      "references": [
        "https://github.com/openmrs/openmrs-module-referenceapplication/releases/tag/referenceapplication-2.12.0",
        "https://vuldb.com/?ctiid.216883",
        "https://vuldb.com/?id.216883",
        "https://issues.openmrs.org/browse/RA-1875",
        "https://github.com/openmrs/openmrs-module-referenceapplication/commit/0410c091d46eed3c132fe0fcafe5964182659f74",
        "https://github.com/openmrs/openmrs-module-referenceapplication/pull/89"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-4289",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 384868,
  "published_at": "2022-12-27T13:15:11.227+00:00"
}