/

CVE-2026-102126

Severity:

HIGH RISK

(8.1)

Stored XSS (CWE-79) in Kiteworks Core Admin Portal

CVE-2026-102126

Analyzed

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Privilege Escalation and Administrative Account Takeover

Severity:

HIGH RISK

(8.1)

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 weakness in Kiteworks Core could allow a narrowly privileged administrator to save crafted content that is later rendered as active JavaScript. When a System Administrator views the affected page in an authenticated session, the script may act with that administrator's privileges and enable tenant-wide administrative takeover.

Affected context

The vulnerability occurs in Kiteworks Core administrative functionality where user-controlled or administrator-controlled content is stored and later displayed to other administrators. Risk is increased when the content is insufficiently output-encoded for its rendering context and a higher-privileged System Administrator views the affected page while authenticated.

Exploit preconditions

  • Attack surface: Kiteworks Core administrative web pages that persist and render user-controlled content
  • Required access: A valid administrator account with the specific delegated permission needed to create or modify the affected content
  • Trigger point: A System Administrator views the page containing the stored content
  • Why exploitation is possible: Stored input is rendered without adequate context-aware output encoding, allowing browser-executed script to run within the authenticated administrative session

Why this happens

The underlying bug is a failure to treat stored content as untrusted data when it is rendered in a web interface. Missing or incomplete context-aware output encoding allows attacker-controlled markup or script content to cross the data-to-code boundary in the browser. This behavior maps to CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), specifically a stored XSS pattern.

Potential impact

  • A lower-privileged administrator may perform actions available to a System Administrator
  • The attacker could potentially create or modify administrative accounts
  • Tenant configuration and security settings may be changed
  • Sensitive information visible to the affected administrative session could be exposed
  • Administrative actions may be performed without the victim's intent

General mitigation guidance

Mitigation generally focuses on ensuring that all persisted content is treated as untrusted and safely rendered.

Common defensive patterns include:

  • Applying context-aware output encoding at every rendering boundary
  • Using templating frameworks with escaping enabled by default
  • Validating input against an allowlist appropriate to the intended content type
  • Avoiding raw HTML or script-capable rendering unless it is strictly required and safely sanitized
  • Applying restrictive Content Security Policy controls as defense in depth
  • Limiting delegated permissions and separating content-management privileges from tenant-wide administration
  • Requiring reauthentication or additional authorization checks for sensitive administrative actions

How teams detect issues like this

Organizations commonly detect stored XSS risks through:

  • Static analysis rules identifying unsafe HTML rendering, raw template output, or disabled escaping
  • Code review checks for missing output encoding at each browser rendering context
  • Dynamic testing that submits benign marker values to persisted fields and verifies safe encoding on retrieval
  • Security tests covering role combinations, delegated permissions, and privileged-user viewing workflows
  • Policy enforcement that requires approved sanitization libraries and secure templating defaults
  • Automated application-security review tools that flag unsanitized data flows from storage to HTML or script-capable contexts

Sources

SourceLink
github.comgithub.com/kiteworks/security-advisories/security/advisories/GHSA-ccfx-6hq4-fx4g
raw.githubusercontent.comraw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/VA/white/2026/va-26-274-01.json

Frequently asked

questions

Exploitation scope is constrained by the delegated permission required to store or modify the affected content. It is not necessarily available to unauthenticated users or ordinary tenant users.

No. The described attack model requires a lower-privileged administrator who can store the content, while a System Administrator must later view the affected page in an authenticated session.

Treat stored content as untrusted, apply context-aware output encoding by default, and use narrowly scoped sanitization when limited rich content is required.

Combine secure rendering defaults with role-aware testing, least-privilege delegated permissions, Content Security Policy defense in depth, and regression tests covering privileged administrator workflows.

Find out what's already
exploitable in your codebase.