CVE-2022-29648: Cross site scripting in Jfinal
5.4
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.40373%
CWE
Published
6/3/2022
Updated
1/27/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| com.jflyfox:jflyfox_jfinal | maven | <= 5.1.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability requires two key points: 1) Unsanitized ingestion of X-Forwarded-For header into storage, and 2) Unsafe rendering of the stored value. JFinal's typical Controller.getHeader() pattern would handle the first vector, while FreeMarker/JSP templates without proper escaping would handle the second. The admin interface's TOP10 display mentioned in GHSA-8rp2-j3vj-hgj4 confirms the output context. Though exact code isn't available, these components are fundamental to the described attack flow.