Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-112038 Overview
CVE-2026-112038 is a cross-site scripting (XSS) vulnerability [CWE-79] in the diem-project diem content management system. The flaw resides in the html function of dmAdminPlugin/web/js/dmAdminCtrl.js, part of the Version Check Service component. The affected codebase includes commits up to 116974edfb9a5b8bd69cb13586dc62bcdbb485ad. Because Diem follows a rolling release model, no fixed version range is published. The exploit has been publicly disclosed, and the maintainers have not responded to the issue report at the time of publication.
Critical Impact
Authenticated attackers with high privileges can inject malicious script into the Diem admin interface, enabling session abuse and UI manipulation against administrators who interact with the Version Check Service.
Affected Products
- diem-project diem through commit 116974edfb9a5b8bd69cb13586dc62bcdbb485ad
- Component: Version Check Service
- File: dmAdminPlugin/web/js/dmAdminCtrl.js
Discovery Timeline
- 2026-10-19 - CVE-2026-112038 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-112038
Vulnerability Analysis
The vulnerability is a stored or reflected cross-site scripting weakness in the Diem administrative plugin. The html function inside dmAdminCtrl.js processes data returned from the Version Check Service and renders it directly into the DOM without adequate sanitization or encoding. An attacker who can influence the content handled by this function can inject arbitrary JavaScript that executes within the browser context of an administrator viewing the admin panel. Successful execution exposes session cookies, CSRF tokens, and other administrative data to the attacker. The impact is bounded to integrity of the administrative interface, with no direct effect on confidentiality or availability of the underlying host.
Root Cause
The root cause is improper neutralization of input during web page generation [CWE-79]. The client-side controller passes attacker-influenceable data into an html sink without escaping HTML metacharacters or constraining the output to text nodes. Any <script> or event-handler payload embedded in the data flows directly into the rendered page.
Attack Vector
Exploitation requires network access to the Diem admin interface and an authenticated session with elevated privileges to reach the Version Check Service workflow. User interaction is required because the payload executes when an administrator loads the affected admin view. The attacker triggers the vulnerability by causing crafted content to be returned or rendered through the Version Check Service, which the vulnerable html function then injects into the admin DOM.
No verified proof-of-concept code is provided by the reporter. Technical details are available through the VulDB CVE-2026-112038 entry and the upstream GitHub Issue #455 for Diem.
Detection Methods for CVE-2026-112038
Indicators of Compromise
- Unexpected <script> tags, javascript: URIs, or inline event handlers (onerror, onload) rendered inside Diem admin pages served from dmAdminPlugin.
- Admin-session HTTP requests originating immediately after a Version Check Service page load that target external hosts not associated with the Diem project.
- Modifications to administrative content, user records, or plugin configuration performed by legitimate admin accounts without a corresponding operator action.
Detection Strategies
- Review browser developer-console logs and server access logs for requests to dmAdminPlugin/web/js/dmAdminCtrl.js paired with anomalous responses from the Version Check Service endpoint.
- Deploy a Content Security Policy (CSP) in report-only mode to surface inline script execution attempts within the admin interface.
- Enable web application firewall (WAF) rules that flag HTML and JavaScript metacharacters in parameters consumed by the Version Check Service.
Monitoring Recommendations
- Monitor outbound network traffic from administrator workstations immediately following interactions with the Diem admin panel.
- Alert on new or modified admin accounts, privilege changes, and plugin installations that occur outside documented change windows.
- Track browser telemetry for CSP violation reports originating from Diem admin URLs.
How to Mitigate CVE-2026-112038
Immediate Actions Required
- Restrict access to the Diem admin interface to trusted networks or VPN segments, reducing the attack surface for the privileged-only exploitation path.
- Limit administrative accounts to the minimum required and enforce multi-factor authentication to raise the cost of compromising a qualifying session.
- Avoid loading the Version Check Service view on production admin workstations until a fix is confirmed in the rolling release.
Patch Information
No vendor patch is available at the time of writing. The project uses a rolling release model and has not responded to the public issue report. Monitor the GitHub Diem Project Repository and GitHub Issue #455 for Diem for a corrective commit, and rebuild from source once a fix lands.
Workarounds
- Disable or remove the Version Check Service component in dmAdminPlugin if it is not required for operations.
- Enforce a strict Content Security Policy on the admin interface that blocks inline scripts and restricts script sources to trusted origins.
- Apply a local patch that routes Version Check Service output through an HTML-escaping helper before it reaches the html sink in dmAdminCtrl.js.
- Isolate administrator browsing in a dedicated browser profile or workstation to limit the blast radius of a successful XSS payload.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

