/

CVE-2026-88804

Severity:

CRITICAL RISK

(9.6)

Stored XSS (CWE-79) in SUSE Rancher Public UI Settings

CVE-2026-88804

Awaiting Analysis

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Client-Side Code Execution and Account Compromise

Severity:

CRITICAL RISK

(9.6)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A stored cross-site scripting vulnerability in the SUSE Rancher UI allows unauthenticated remote attackers to update public UI settings with malicious content. When the affected settings are later rendered by users or administrators, injected script may execute in their browser context.

Affected context

The issue occurs in Rancher deployments where public UI settings can be updated without authentication and are subsequently displayed in the Rancher web interface. Risk is higher when administrators or other privileged users view the affected content, because browser-executed code may act with their active session privileges.

Exploit preconditions

  • Attack surface: Rancher UI endpoints responsible for public settings
  • Required access: No authentication may be required to submit the malicious setting update
  • Trigger point: A user or administrator loads a Rancher UI view that renders the stored setting
  • Why exploitation is possible: User-controlled content is persisted and later inserted into a browser-rendered context without adequate output encoding or sanitization

Why this happens

The underlying bug is an improper neutralization of user-controlled input in web output, mapping to CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'). Public UI settings are accepted and stored without sufficiently restricting executable markup or are rendered without context-appropriate encoding, allowing browser script execution when the value is displayed.

Potential impact

  • Unauthorized actions performed through a victim's authenticated Rancher session
  • Exposure of sensitive information visible to the victim
  • Session or credential theft where browser protections and application behavior permit it
  • Modification of cluster-management data or UI settings
  • Phishing, interface manipulation, or further compromise of privileged users

General mitigation guidance

Mitigation generally centers on treating all client-submitted settings as untrusted and preventing executable content from reaching browser contexts.

Common defensive patterns include:

  • Applying context-aware output encoding at every rendering sink
  • Enforcing allowlisted schemas and formats for public UI settings
  • Sanitizing rich content with a narrowly defined safe policy when HTML is required
  • Requiring authentication and authorization for settings-management operations
  • Applying least privilege to accounts and service identities used for cluster administration
  • Using browser security controls such as an appropriately restrictive Content Security Policy as defense in depth

How teams detect issues like this

Organizations commonly detect stored XSS risks through:

  • Static analysis rules for untrusted data reaching HTML, script, attribute, or URL sinks
  • Code review checks for public or unauthenticated mutation endpoints
  • Testing that submits harmless marker content and verifies correct encoding in every affected UI view
  • Dynamic application testing for persistence, rendering, and privilege-boundary behavior
  • API policy enforcement requiring authentication, authorization, and schema validation for configuration updates
  • Automated security review tools that identify missing sanitization or unsafe rendering patterns

Sources

SourceLink
github.comgithub.com/rancher/rancher/security/advisories/GHSA-992f-xh8r-jg2f

Frequently asked

questions

Yes. The described issue can be reached remotely through the Rancher UI settings update functionality, and authentication may not be required to submit the update.

The key condition is access to the exposed public settings update operation. A victim must generally view a Rancher UI page that renders the stored value for script execution to occur in that browser.

Treat public settings as untrusted input, restrict who can modify them, validate them against a strict schema, and apply context-appropriate output encoding or sanitization before rendering.

Combine secure framework defaults, centralized encoding practices, authorization checks, security-focused code review, automated testing, and restrictive browser policies such as Content Security Policy.

Find out what's already
exploitable in your codebase.