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.
Published: 2026-07-21
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The DHIS2 OpenAPI HTML endpoint reflects the value of the scope query parameter into the generated HTML without proper sanitization, a flaw classified as CWE‑79 (Cross‑Site Scripting). A maliciously crafted scope value can be executed as active HTML or JavaScript when a user visits the page. The potential consequences—such as cookie theft, phishing, tampering of content, or redirection—are inferred from the nature of the flaw.

Affected Systems

The vulnerability affects DHIS2 community releases 2.42 and 2.43 prior to the 2026‑06‑09 security patch, as well as the development branch of DHIS2 2.44 before the fix was merged. The patched versions are DHIS2 2.42.5.1, 2.43.0.1, and the updated 2.44 development branch.

Risk and Exploitability

With a CVSS score of 7.3 the flaw is considered high severity. The EPSS score is below 1 % and the vulnerability is not listed in the CISA KEV catalog, indicating a low to moderate likelihood of exploitation at present. The attack requires a user to open a crafted OpenAPI URL, so it relies on user interaction and is a client‑side XSS rather than a server‑side attack.

Generated by OpenCVE AI on July 30, 2026 at 16:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the DHIS2 2.42.5.1 or 2.43.0.1 patch, or update to the patched 2.44 development branch if using that release
  • If immediate patching is not possible, restrict or disable access to the OpenAPI HTML endpoint for unauthenticated or non‑privileged users
  • Ensure that all user‑supplied input to the scope parameter is properly encoded or sanitized before inclusion in HTML, following OWASP XSS prevention guidelines

Generated by OpenCVE AI on July 30, 2026 at 16:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 21:45:00 +0000

Type Values Removed Values Added
First Time appeared Dhis2
Dhis2 dhis2-core
Vendors & Products Dhis2
Dhis2 dhis2-core

Wed, 22 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 21 Jul 2026 18:45:00 +0000

Type Values Removed Values Added
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.
Title DHIS2 Reflected XSS in OpenAPI HTML scope parameter
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 7.3, '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'}


Subscriptions

Dhis2 Dhis2-core
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-22T14:39:07.792Z

Reserved: 2026-06-16T14:33:35.711Z

Link: CVE-2026-55081

cve-icon Vulnrichment

Updated: 2026-07-22T14:39:02.270Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-30T17:00:07Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')