Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft /onlinePreview URL with payload in page/kkagent param
-
DeliveryDeliver link to victim via phishing
-
ExploitVictim's browser requests endpoint
-
ExecutionFreeMarker reflects value into raw JS context
-
PersistScript executes in victim session
-
ImpactSteal 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 |
| 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
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
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-80954
GHSA-7g5g-h785-2px7
NVD
CVE.org
EPSS
Exploit-DB