JFinal file validation vulnerability
In JFinal cos before 2019-08-13, as used in JFinal 4.4, there is a vulnerability that can bypass the isSafeFile() function: one can upload any type of file. For example, a .jsp file may be stored and almost immediately deleted, but this deletion step does not occur for certain exceptions.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.jfinal:jfinal | < 4.5 | 4.5 |
References
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-434- Platform
- Java / Kotlin (Maven)
- Package
com.jfinal:jfinal- Disclosed
- 25.05.2022
- Updated
- 11.10.2026 11:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-279p-pc38-xx4p - CC BY 4.0
Vulnerability history: com.jfinal:jfinal
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 36
- First → latest
- 08.2021 01.2024
- Without a fix
- 34
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 21
- Medium 13
Disclosures per year
- 2021: 1
- 2022: 3
- 2023: 28
- 2024: 4
- 2025: 0
- 2026: 0
-
JFinal file validation vulnerability this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.