/

CVE-2026-102092

Severity:

HIGH RISK

(8.7)

Stored XSS (CWE-79) in Kiteworks Core Content Preview

CVE-2026-102092

Analyzed

Vulnerability type

Category:

Stored Cross-Site Scripting

CWE:

CWE-79

Impact:

Session Compromise and Account Takeover

Severity:

HIGH RISK

(8.7)

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

Kiteworks Core contains a stored cross-site scripting vulnerability in the handling or preview of shared content. An authenticated user may store crafted content that executes arbitrary JavaScript in another authenticated user's browser session, potentially enabling session compromise or account takeover.

Affected context

The issue may occur in Kiteworks Core deployments before version 9.5.0 when:

  • An authenticated user can submit or modify content that is later shared
  • Another authenticated user previews that shared content
  • The preview interface renders stored content without sufficiently contextual output encoding or sanitization

Exploitation depends on the affected content type, preview workflow, and the permissions available to the attacker and victim.

Exploit preconditions

  • Attack surface: Shared-content submission and preview functionality
  • Required access: An authenticated account with permission to create or modify shareable content
  • Victim interaction: Another authenticated user must preview the affected shared content
  • Trigger point: Rendering stored content in the victim's browser
  • Why exploitation is possible: User-controlled content is rendered in a security context where browser-executable script may not be adequately neutralized

Why this happens

The vulnerability is caused by insufficient neutralization of attacker-controlled content before it is rendered in a shared-content preview.

When output is not encoded for its specific rendering context, or when sanitization permits executable markup or script-capable attributes, stored input can be interpreted as active browser code.

This maps to CWE-79: Improper Neutralization of Input During Web Page Generation, commonly called cross-site scripting.

Potential impact

  • A victim's authenticated session may be compromised
  • Sensitive information visible to the victim may be accessed
  • Actions may be performed using the victim's privileges
  • User accounts may be taken over
  • Shared-content workflows may be abused for phishing or further compromise

General mitigation guidance

Mitigation generally focuses on treating all user-submitted content as untrusted and enforcing context-appropriate output handling.

Common defensive patterns include:

  • Applying context-aware output encoding at the point of rendering
  • Using a narrowly defined allowlist sanitizer for content that must support limited markup
  • Avoiding direct insertion of untrusted data into HTML, script, style, or URL contexts
  • Enforcing a restrictive Content Security Policy as defense in depth
  • Separating content-authoring privileges from sensitive administrative capabilities
  • Limiting session privileges and using secure cookie attributes
  • Preserving safe defaults in preview components and embedded content handlers

How teams detect issues like this

Organizations commonly detect stored XSS risks through:

  • Static analysis for unsafe HTML sinks, dynamic markup insertion, and missing contextual encoding
  • Code review of content-preview templates, sanitization rules, and rich-text rendering paths
  • Tests that submit representative untrusted content and verify inert rendering in every supported context
  • Dynamic application testing of authoring, sharing, and preview workflows with authenticated roles
  • Policy enforcement requiring approved sanitization libraries and security review for new rendering components

Automated application-security and code-review tools may help identify suspicious source-to-sink flows, but findings should be validated against the actual rendering context.

Sources

SourceLink
github.comgithub.com/kiteworks/security-advisories/security/advisories/GHSA-mhw9-vrqq-m434
raw.githubusercontent.comraw.githubusercontent.com/cisagov/CSAF/develop/csaf_files/VA/white/2026/va-26-274-01.json

Frequently asked

questions

It may be exploitable through normal application workflows if an authenticated user can submit content that another authenticated user later previews. The exact scope depends on access controls and deployment configuration.

Yes, the described scenario requires an authenticated account capable of storing or sharing content. A second authenticated user generally must preview that content for the stored script to execute in their session.

Treat stored content as untrusted, apply context-specific output encoding, and use a narrowly scoped allowlist sanitizer where limited formatting is required.

Combine secure templating defaults, centralized sanitization, Content Security Policy defense in depth, role-based access controls, and automated tests covering every content-rendering context.

Find out what's already
exploitable in your codebase.