CVE-2021-31635
9.8critical
jFinal Server-Side Template Injection vulnerability
- Severity
- 9.8critical CVSS:3.1 by NVD
- Exploit likelihood
- 1.21% (higher than 69% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-cgmm-c2m9-ff7r
Description
Server-Side Template Injection (SSTI) vulnerability in jFinal v.4.9.08 allows a remote attacker to execute arbitrary code via the template function.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| com.jfinal:jfinal (Maven) | up to 4.9.08 | GitHub Advisory Database |
| jfinal jfinal | 4.9.08 | NVD |
All scores
| GitHub | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.
References
| https://github.com/jfinal/jfinal/issues/187 | issue-tracking, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2021-31635 | advisory | |
| https://gitee.com/jfinal/jfinal/issues/I3IXLE | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-31635 changed 2024-12-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cgmm-c2m9-ff7r changed 2024-12-05 | CC-BY-4.0 |
| NVD | CVE-2021-31635 changed 2026-06-17 | Public domain |