Skip to content
Heist/ feed
Back to feed
High

DHIS2 Reflected XSS in OpenAPI HTML scope parameter

Type: advisorySources: OSV

DHIS2 is a flexible information system for data capture, management, validation, analytics and visualization. The DHIS2 OpenAPI HTML endpoint reflected values from the `scope` query parameter into the generated HTML document without sufficient sanitization. A crafted `scope` value could be rendered as active HTML or JavaScript in the OpenAPI documentation page. An attacker able to get a user to open a crafted OpenAPI HTML URL could execute JavaScript in that user's browser in the DHIS2 origin. Affected versions: DHIS2 2.42 and 2.43 before the 2026-06-09 security patch releases, and the development branch for DHIS2 2.44 before the fix was merged. Patched in 2.42.5.1, 2.43.0.1, the 2.42 and 2.43 line branches, and the 2.44 development branch.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-55081
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:03 UTC · Revision 1

Source evidence

DHIS2 Reflected XSS in OpenAPI HTML scope parameter

core-osv · Original source

Published 21 Jul 2026, 18:36 UTC

DHIS2 is a flexible information system for data capture, management, validation, analytics and visualization. The DHIS2 OpenAPI HTML endpoint reflected values from the `scope` query parameter into the generated HTML document without sufficient sanitization. A crafted `scope` value could be rendered as active HTML or JavaScript in the OpenAPI documentation page. An attacker able to get a user to open a crafted OpenAPI HTML URL could execute JavaScript in that user's browser in the DHIS2 origin. Affected versions: DHIS2 2.42 and 2.43 before the 2026-06-09 security patch releases, and the development branch for DHIS2 2.44 before the fix was merged. Patched in 2.42.5.1, 2.43.0.1, the 2.42 and 2.43 line branches, and the 2.44 development branch.

osv:CVE-2026-55081
Complete source record
{
  "id": "23f9d29b50a19de6715446f4b6bb9945d3a9087a55bb80084536299d1ccbcd33",
  "url": "https://osv.dev/vulnerability/CVE-2026-55081",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "DHIS2 Reflected XSS in OpenAPI HTML scope parameter",
    "summary": "DHIS2 is a flexible information system for data capture, management, validation, analytics and visualization. The DHIS2 OpenAPI HTML endpoint reflected values from the `scope` query parameter into the generated HTML document without sufficient sanitization. A crafted `scope` value could be rendered as active HTML or JavaScript in the OpenAPI documentation page. An attacker able to get a user to open a crafted OpenAPI HTML URL could execute JavaScript in that user's browser in the DHIS2 origin. Affected versions: DHIS2 2.42 and 2.43 before the 2026-06-09 security patch releases, and the development branch for DHIS2 2.44 before the fix was merged. Patched in 2.42.5.1, 2.43.0.1, the 2.42 and 2.43 line branches, and the 2.44 development branch.",
    "evidence": "osv:CVE-2026-55081",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-55081",
      "aliases": [
        "CVE-2026-55081",
        "GHSA-6785-hj47-c27h"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/dhis2/dhis2-core",
              "type": "GIT",
              "events": [
                {
                  "introduced": "4bc649ee714c0ec0e3cfeea32557252e9e22644f"
                },
                {
                  "fixed": "9d7f88a940e6e5ee766767424306fb11cb4a1f2b"
                },
                {
                  "introduced": "0c543cc7776403b5cd9345ed8bc8f82543fbefe5"
                },
                {
                  "fixed": "58a531e163ddeefed47904841240ee436b247703"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "2.42.0"
                      },
                      {
                        "fixed": "2.42.5.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "introduced": "2.43.0"
                      },
                      {
                        "fixed": "2.43.0.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  }
                ]
              }
            }
          ],
          "versions": [
            "2.43.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55081.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.175948472Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55081.json",
        "https://github.com/dhis2/dhis2-core/security/advisories/GHSA-6785-hj47-c27h",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-55081",
        "https://github.com/dhis2/dhis2-core/pull/24158",
        "https://github.com/dhis2/dhis2-core/pull/24159",
        "https://github.com/dhis2/dhis2-core/pull/24160",
        "https://github.com/dhis2/dhis2-core/pull/24161",
        "https://github.com/dhis2/dhis2-core/pull/24162"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-79"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55081.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-55081",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507796,
  "published_at": "2026-07-21T18:36:46.507+00:00"
}