DHIS2 Reflected XSS in OpenAPI HTML scope parameter
cve-program · CVE-2026-55081
PublishedDHIS2 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.
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2026-55081 · CVE overview and exploitation status
cve-program · CVE-2026-55081
- https://github.com/dhis2/dhis2-core/security/advisories/GHSA-6785-hj47-c27h
- 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
Related changes
Linked by CVE identifierNo related changes are available here.