Skip to main content

kkFileView CVE-2026-88593

| EUVDEUVD-2026-80954 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-09-16 mitre GHSA-7g5g-h785-2px7
6.1
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft /onlinePreview URL with payload in page/kkagent param
  2. Delivery
    Deliver link to victim via phishing
  3. Exploit
    Victim's browser requests endpoint
  4. Execution
    FreeMarker reflects value into raw JS context
  5. Persist
    Script executes in victim session
  6. Impact
    Steal cookies/tokens or act as user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the target to be running kkFileView version 5.0.0, 5.0.1, or 5.0.2 with the /onlinePreview endpoint reachable (the core preview function, on by default). No authentication is needed to craft the request (PR:N), but the attack is limited by mandatory user interaction: a victim must open the attacker-crafted link, whose malicious script rides in the page or kkagent query parameter and is reflected unescaped into a raw JavaScript context within a FreeMarker template. Impact is confined to the victim's browser session (session/token theft, actions as the victim); there is no server-side code execution or data compromise. Realistic risk is further limited by the reflected (non-persistent) nature - each victim must be individually lured.

Impact

This is a textbook reflected XSS (CWE-79) with a self-consistent CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N = 6.1 Medium). All signals point to genuine-but-moderate risk rather than a top priority: the flaw is remotely reachable without authentication (PR:N) and low-complexity (AC:L), but it mandatorily requires victim interaction (UI:R) - the attacker cannot fire it server-side, they must lure a user into clicking a crafted /onlinePreview link. EPSS is low at 0.17% (6th percentile), there is no CISA KEV listing and no public exploit code identified, so there is no evidence of active or automated exploitation. The S:C (scope change) and C:L/I:L reflect that impact lands in the victim's browser session (script execution, session/token theft, limited action-on-behalf), not on the kkFileView server itself; there is no confidentiality/integrity compromise of the host and no availability impact. No signals conflict. Net: a real, easily-fixed web-hygiene bug worthy of patching but not an emergency; prioritize behind unauthenticated RCE/auth-bypass issues.

Exploit ScenarioDerived

An attacker crafts a URL to a target kkFileView instance's /onlinePreview endpoint with a JavaScript payload embedded in the page or kkagent parameter, then delivers it via phishing email, chat, or a malicious link. When an authenticated or logged-in user opens the link, the OnlinePreviewController reflects the parameter unescaped into a raw JavaScript context inside a FreeMarker template, executing the attacker's script in the victim's browser to steal session cookies/tokens or perform actions as the user. No public exploit code was identified at time of analysis, though the technique is trivial to reproduce given the described sink.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 22, 2026

Reflected cross-site scripting in kkFileView 5.0.0 through 5.0.2 lets unauthenticated remote attackers inject JavaScript into the /onlinePreview endpoint, where the user-controlled page and kkagent query parameters are passed by OnlinePreviewController into FreeMarker templates and emitted unescaped inside raw JavaScript contexts. Because the CVSS vector is PR:N with UI:R, the attacker needs no credentials but must convince a victim to open a crafted link; successful exploitation runs script in the victim's browser origin, allowing session or token theft and actions performed as the victim, with no server-side code execution or backend data compromise. There is no confirmation of active exploitation (not in CISA KEV) and no public exploit code identified at time of analysis, and EPSS is low at 0.17% (6th percentile), though the reflected, non-persistent nature of the flaw means each victim must be individually lured.

RemediationAI

No vendor-released patch identified at time of analysis, and no fixed version has been published in the available references (https://github.com/sg-summer/cve/issues/3 and https://nvd.nist.gov/vuln/detail/CVE-2026-88593), so remediation must lean on compensating controls until an upstream fix appears. Where preview functionality is not required, remove or reverse-proxy-block the /onlinePreview route entirely, accepting the loss of the product's core file-preview capability; where it must stay, place it behind authentication and network allowlisting so only trusted internal users can reach it, trading off broad usability for a much smaller attack surface. Validate the page parameter against a strict numeric/allowlist pattern at the reverse proxy or WAF layer and strip or reject unexpected kkagent values, understanding that signature-based filtering of XSS payloads is frequently bypassed and is a mitigation rather than a fix. Deploy a Content-Security-Policy with a restrictive script-src (nonce- or hash-based) to blunt inline script execution, noting that legacy inline JavaScript in the FreeMarker templates may break and require adjustment, and never treat the reflected XSS as harmless: because CVSS scope is changed (S:C), a successful payload can act on the victim's session, so response should include session-invalidation and credential-reset procedures for any user who clicked a suspicious preview link. Track the CVE.org and EUVD records (EUVD-2026-80954) for a patched release and upgrade as soon as an official fix version is published.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

kkFileView is a Java/Spring Boot-based document preview service commonly deployed as an internal file-preview gateway, and /onlinePreview is its core, on-by-default preview route. The root cause is CWE-79 (Improper Neutralization of Input During Web Page Generation), specifically a context-confusion variant: OnlinePreviewController forwards the attacker-supplied page and kkagent request parameters into FreeMarker templates that interpolate those values directly into JavaScript code blocks rather than into HTML text, so FreeMarker's default HTML escaping (where applied) would not neutralize the payload even in a hardened rendering path. The CVSS 3.1 vector AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N reflects a network-reachable, no-authentication attack that nonetheless depends on victim interaction, with S:C indicating the injected script executes in the browser's security context and can reach beyond the vulnerable component's own origin boundaries. Impact is bounded to low confidentiality and integrity effects (session/token theft, forged actions as the victim) with no availability impact and no server-side compromise; the CPE string supplied is a placeholder (n/a) rather than a concrete product identifier, so affected-version scoping relies on the vendor/reporter description covering 5.0.0 through 5.0.2.

Know when Java gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 6.1 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
vuln.today AI 6.1 MEDIUM

Reflected XSS reachable over the network without auth (PR:N) but requiring a victim click (UI:R); scope changes to the browser (S:C) with limited browser-session confidentiality/integrity impact and no availability effect.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Sep 22, 2026 - 16:22 NVD
6.1 (MEDIUM)
CVE Published
Sep 16, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

kkFileView 5.0.0 through 5.0.2 allows reflected XSS via the /onlinePreview endpoint. The OnlinePreviewController passes the user-controlled page and kkagent request parameters to FreeMarker templates without sanitization, and the templates insert these values into raw JavaScript contexts.

Threat Intelligence Overview

EPSS Score
0.2%
Top 94% exploitable
Prevalence
Medium
popular open-source Java/Spring document-preview service, modest real-world production footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy