Vulnerability · Published Jul 21, 2026 · Assigned by GitHub_M
CVE-2026-55081DHIS2 Reflected XSS in OpenAPI HTML scope parameter
High 7.3
In plain English
A high-severity cross-site scripting in dhis2-core from dhis2. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 38% of all known vulnerabilities).
Official description
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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| dhis2 | dhis2-core | >= 2.42.0, < 2.42.5.1>= 2.43.0, < 2.43.0.1 |
Weakness: CWE-79 · Vector: 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
References
- https://github.com/dhis2/dhis2-core/security/advisories/GHSA-6785-hj47-c27h x_refsource_CONFIRM
- https://github.com/dhis2/dhis2-core/pull/24158 x_refsource_MISC
- https://github.com/dhis2/dhis2-core/pull/24159 x_refsource_MISC
- https://github.com/dhis2/dhis2-core/pull/24160 x_refsource_MISC
- https://github.com/dhis2/dhis2-core/pull/24161 x_refsource_MISC
- https://github.com/dhis2/dhis2-core/pull/24162 x_refsource_MISC