Description
kkFileView is a universal file online preview project based on Spring Boot. Prior to 5.0.1, the unauthenticated GET /addTask endpoint in kkFileView is omitted from TrustHostFilter and TrustDirFilter in server/src/main/java/cn/keking/config/WebConfig.java, allowing FileConvertQueueTask to fetch an attacker-selected URL after FileHandlerService#getFileAttribute uses the fullfilename parameter to force an OFFICE, COMPRESS, or CAD type. This issue is fixed in version 5.0.1.
References6
- github.com/kekingcn/kkFileView/commit/32a887aa2cd70228998c617c4…
- github.com/kekingcn/kkFileView/issues/765
- github.com/kekingcn/kkFileView/pull/767
- github.com/kekingcn/kkFileView/releases/tag/v5.0.1
- github.com/kekingcn/kkFileView/security/advisories/GHSA-gwwj-52…
- github.com/kekingcn/kkFileView/security/advisories/GHSA-gwwj-52…
Metrics
- CVSS 3.1
-
5.8
MEDIUM
Score source: CNA
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N - EPSS — exploit probability
- 0% percentile: 38 · as of 12 November 2026
- CWE
- CWE-918
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.