Skip to main content

DHIS2 EUVDEUVD-2026-46362

| CVE-2026-55081 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-07-21 GitHub_M
7.3
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft OpenAPI URL with malicious scope
  2. Delivery
    Phish authenticated DHIS2 user to open link
  3. Exploit
    Reflected script executes in DHIS2 origin
  4. Execution
    Hijack session and call APIs as victim
  5. Impact
    Exfiltrate or manipulate DHIS2 data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to be a logged-in DHIS2 user (CVSS PR:L indicates authentication is needed to reach the OpenAPI HTML endpoint) and to actively open an attacker-crafted URL (UI:A/required), where the crafted scope query parameter carries HTML/JavaScript that the OpenAPI documentation page reflects unsanitized. The limiting factors are: the attacker cannot trigger it without social-engineering a valid user into clicking (no unauthenticated drive-by), high attack complexity per the vendor vector, and the target instance must expose the OpenAPI HTML documentation endpoint. Impact is confined to the DHIS2 web origin and the victim's privilege level.

Impact

The vendor CVSS 4.0 base score is 7.3 (High) with vector AV:N/AC:H/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H - network-reachable but gated by high attack complexity, low-privilege authentication, and required active user interaction (the victim must open a crafted link). These gating factors, together with the absence of a KEV listing, any EPSS figure, or a published PoC, put this below drive-by/wormable severity: it is a credible session-compromise vector but requires social engineering of a logged-in user, so it is a real but not emergency priority for internet-facing or multi-user DHIS2 deployments. One notable data conflict: the CVE description and GHSA-6785-hj47-c27h describe a reflected XSS, yet the linked source-code evidence (PR #24158) shows unrelated hardening - SQL identifier quoting in DefaultSqlViewService and a Java deserialization allow-list filter in HibernateUserSettingStore - rather than an OpenAPI/scope encoding fix, so the exact remediating diff for the XSS is not confirmed from the provided evidence and should be verified against the advisory. No EPSS score was provided, so exploitation-probability modeling is unavailable.

Exploit ScenarioDerived

An attacker crafts a DHIS2 OpenAPI HTML URL with a malicious scope parameter containing script markup and sends it to a logged-in DHIS2 user (for example a data clerk or administrator) via email or chat. When the victim opens the link, the unsanitized value renders as active JavaScript in the DHIS2 origin, letting the attacker steal the session, issue API calls as the victim, or exfiltrate data. Because attack complexity is high and user interaction is required, this is a targeted phishing-style attack rather than automated mass exploitation; no public PoC is known at time of analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 21, 2026

Reflected cross-site scripting in the DHIS2 OpenAPI HTML documentation endpoint allows an attacker to execute arbitrary JavaScript in a victim's browser within the DHIS2 origin by luring an authenticated user to a crafted URL. The endpoint echoes the scope query parameter into the generated HTML page without sufficient sanitization (CWE-79), affecting DHIS2 core versions 2.42 and 2.43 prior to the 2026-06-09 security releases and the 2.44 development branch. There is no public exploit identified at time of analysis and it is not listed in CISA KEV, but successful exploitation can hijack the victim's DHIS2 session and act with their privileges.

RemediationAI

Vendor-released patch: upgrade to 2.42.5.1 or 2.43.0.1 (or the latest patched 2.42/2.43 line branch build), and for pre-release use pull the fixed 2.44 development branch, per advisory https://github.com/dhis2/dhis2-core/security/advisories/GHSA-6785-hj47-c27h. If immediate patching is not possible, restrict or block access to the OpenAPI HTML documentation endpoint at the reverse proxy (many production deployments do not need the interactive OpenAPI docs exposed to end users), which removes the reflection surface at the cost of losing in-app API documentation; additionally deploy a strict Content-Security-Policy that disallows inline script execution on the DHIS2 origin to blunt reflected XSS, accepting that a restrictive CSP may break some bundled apps and require tuning. Educate operators not to open OpenAPI URLs received from untrusted sources, since exploitation depends on the victim clicking a crafted link.

Affected VersionsENISA

dhis2-core 2.42.0, < 2.42.5.1
dhis2-core 2.43.0, < 2.43.0.1

Affected Packages

euvd dhis2_core_2_42_0 fix: 2.42.5.1
euvd dhis2_core_2_43_0 fix: 2.43.0.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DHIS2 is an open-source, Java/Spring-based health management information platform (cpe:2.3:a:dhis2:dhis2-core) used to capture, validate, analyze and visualize aggregate and event data. The affected component is the built-in OpenAPI documentation renderer, which produces an HTML page describing the API; the scope query parameter is reflected into that document. Because the value is inserted into the HTML/JavaScript context without adequate output encoding, it becomes a classic reflected XSS (CWE-79, Improper Neutralization of Input During Web Page Generation). The injected script runs in the DHIS2 web origin, so it inherits the victim's authenticated session context, cookies, and same-origin access to DHIS2 APIs.

Know when Dhis2 Core gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 7.3 HIGH
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
vuln.today AI 7.6 HIGH

Reflected XSS reachable only by an authenticated user (PR:L) who must click a crafted link (UI:R); injected script crosses into the browser context (S:C) enabling session/data theft (C:H), while I set AC:L as straightforward reflection.

3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
Low
User Interaction
Active
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jul 21, 2026 - 20:18 EUVD
CVE Published
Jul 21, 2026 - 18:36 cve.org
HIGH 7.3

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

DHIS2 core versions 2.42 and 2.43 contain a reflected cross-site scripting vulnerability in the OpenAPI documentation endpoint that allows attackers to hijack authenticated user sessions. By luring DHIS2 users to a malicious link, attackers could gain unauthorized access to organizational data and system functions with the victim's full privileges. Organizations using affected versions must upgrade immediately to mitigate this critical session-hijacking risk.

Business Impact: High
Compensating Controls

Apply vendor patch: update DHIS2 2.42 and 2.43 to versions released on or after 2026-06-09. For pre-patch environments: restrict network access to OpenAPI documentation endpoints and implement web application firewall rules to detect XSS patterns in the 'scope' query parameter.

Threat Intelligence Overview

EPSS Score
0.3%
Top 81% exploitable
Prevalence
Medium
widely used health information platform, but concentrated in public-health and NGO sectors
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
High

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy