CVE-2021-31635
Java vulnerability analysis and mitigation

Overview

Server-Side Template Injection (SSTI) vulnerability was discovered in jFinal version 4.9.08. The vulnerability was assigned CVE-2021-31635 and was disclosed on April 15, 2021. This vulnerability affects the template function in jFinal, a Java web framework (NVD, GitHub Issue).

Technical details

The vulnerability is classified as a Server-Side Template Injection (SSTI) that exists in the template function of jFinal v.4.9.08. The CVSS v3.1 Base Score is 9.8 (CRITICAL) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H, indicating that the vulnerability can be exploited remotely without requiring privileges or user interaction (NVD).

Impact

The vulnerability allows remote attackers to execute arbitrary code via the template function. Given the CVSS score of 9.8, this indicates critical severity with high impacts on confidentiality, integrity, and availability of the affected systems (NVD).

Mitigation and workarounds

Users should upgrade from jFinal version 4.9.08 to a patched version. The vulnerability was reported through the project's issue tracking system on both GitHub and Gitee platforms (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-26866HIGH8.8
  • JavaJava
  • org.apache.hugegraph:hg-pd-core
NoYesDec 12, 2025
CVE-2025-66474HIGH8.7
  • JavaJava
  • org.xwiki.rendering:xwiki-rendering-xml
NoYesDec 10, 2025
CVE-2025-66473HIGH8.7
  • JavaJava
  • org.xwiki.platform:xwiki-platform-rest-server
NoYesDec 10, 2025
CVE-2025-67505HIGH8.4
  • JavaJava
  • com.okta.sdk:okta-sdk-root
NoYesDec 10, 2025
CVE-2025-14518MEDIUM5.3
  • JavaJava
  • tech.powerjob:powerjob-common
NoNoDec 11, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management