{"id":"CVE-2021-31635","aliases":["CVE-2021-31635","GHSA-cgmm-c2m9-ff7r"],"related":[],"kind":"vulnerability","state":"published","title":"jFinal Server-Side Template Injection vulnerability","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Server-Side Template Injection (SSTI) vulnerability in jFinal v.4.9.08 allows a remote attacker to execute arbitrary code via the template function.","source":"cvelist"}],"published":"2023-06-26T00:00:00.000Z","modified":"2026-06-17T03:52:06.163Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","lastAffected":"4.9.08"}],"ecosystem":"Maven","package":"com.jfinal:jfinal","purl":"pkg:maven/com.jfinal/jfinal","source":"ghsa"},{"ranges":[{"status":"affected","version":"4.9.08"}],"vendor":"jfinal","product":"jfinal","cpe":"cpe:2.3:a:jfinal:jfinal:4.9.08:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/jfinal/jfinal/issues/187","tags":["issue-tracking","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31635","tags":["advisory"],"sources":["ghsa"]},{"url":"https://gitee.com/jfinal/jfinal/issues/I3IXLE","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2024-12-05T15:31:39.943Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-31635","url":"https://www.cve.org/CVERecord?id=CVE-2021-31635","licence":"CVE Terms of Use","modified":"2024-12-05T15:32:17.532Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cgmm-c2m9-ff7r","url":"https://github.com/advisories/GHSA-cgmm-c2m9-ff7r","licence":"CC-BY-4.0","modified":"2024-12-05T19:25:38.184Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-31635","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-31635","licence":"Public domain","modified":"2026-06-17T03:52:06.163Z"}],"updatedAt":"2026-11-25T22:58:08.476Z","epss":{"score":0.01206,"percentile":0.69178,"date":"2026-12-01T12:00:22.000Z"}}