{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "2.42.0"
              },
              {
                "fixed": "2.42.5.1"
              },
              {
                "introduced": "2.43.0"
              },
              {
                "fixed": "2.43.0.1"
              }
            ],
            "source": "AFFECTED_FIELD"
          },
          "events": [
            {
              "introduced": "4bc649ee714c0ec0e3cfeea32557252e9e22644f"
            },
            {
              "fixed": "9d7f88a940e6e5ee766767424306fb11cb4a1f2b"
            },
            {
              "introduced": "0c543cc7776403b5cd9345ed8bc8f82543fbefe5"
            },
            {
              "fixed": "58a531e163ddeefed47904841240ee436b247703"
            }
          ],
          "repo": "https://github.com/dhis2/dhis2-core",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-6785-hj47-c27h"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-79"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55081.json"
  },
  "details": "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.\n\nAffected 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.\nPatched in 2.42.5.1, 2.43.0.1, the 2.42 and 2.43 line branches, and the 2.44 development branch.",
  "id": "CVE-2026-55081",
  "modified": "2026-07-24T03:56:50.927413702Z",
  "published": "2026-07-21T18:36:46.507Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55081.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/dhis2/dhis2-core/security/advisories/GHSA-6785-hj47-c27h"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-55081"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dhis2/dhis2-core/pull/24158"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dhis2/dhis2-core/pull/24159"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dhis2/dhis2-core/pull/24160"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dhis2/dhis2-core/pull/24161"
    },
    {
      "type": "FIX",
      "url": "https://github.com/dhis2/dhis2-core/pull/24162"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "DHIS2 Reflected XSS in OpenAPI HTML scope parameter"
}