CVE-2025-3214 JFinal CMS readTemplate engine.getTemplate path traversal

Medium 5.3 Published Updated

Remote attackers can exploit path traversal in JFinal CMS to read arbitrary files, though the vendor disputes this as a bug.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-3214?

CVE-2025-3214 is a medium-severity path traversal vulnerability in JFinal CMS, published on 4 Apr 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability has been found in JFinal CMS up to 5.2.4 and classified as problematic. Affected by this vulnerability is the function engine.getTemplate of the file /readTemplate. The manipulation of the argument template leads to path traversal. The attack can be launched remotely. The exploit has been disclosed to the public and may be used. The real existence of this vulnerability is still doubted at the moment. The vendor explains that this is not a bug but a feature.

Weakness: CWE-22

Which versions are affected by CVE-2025-3214?

How do I fix CVE-2025-3214?

No fix has been published for CVE-2025-3214 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2025-3214 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-3214 exists.

Sources

Also known as GHSA-g9jw-53r4-8v8g.

Is CVE-2025-3214 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free