CVE-2021-31635 json
jFinal Server-Side Template Injection vulnerability
published 2023-06-26 3 y ago modified 2026-06-17 4 mo ago also GHSA-cgmm-c2m9-ff7r , EUVD-2023-1774
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
Server-Side Template Injection (SSTI) vulnerability in jFinal v.4.9.08 allows a remote attacker to execute arbitrary code via the template function.
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 23 mo ago
Exploit prediction
1.21% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | com.jfinal:jfinal | <=4.9.08 |
no fix listed |
Classification
- Weakness
-
- CWE-94 Improper Control of Generation of Code
References
-
github.com
/jfinal/jfinal/issues/187
web, issue-tracking, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2021-31635
advisory
-
gitee.com
/jfinal/jfinal/issues/I3IXLE
web
Sources
- CVE List CVE-2021-31635
- GitHub Advisory GHSA-cgmm-c2m9-ff7r
- NVD CVE-2021-31635
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.