CVE-2024-5310 JFinalCMS content cross site scripting

Medium 5.1 Published Updated

Attackers can inject malicious scripts via the Title field in JFinalCMS admin content, potentially leading to session hijacking or code execution.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-5310?

CVE-2024-5310 is a medium-severity cross-site scripting vulnerability in JFinalCMS, published on 24 May 2024. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

A vulnerability classified as problematic has been found in JFinalCMS up to 20221020. This affects an unknown part of the file /admin/content. The manipulation of the argument Title leads to cross site scripting. It is possible to initiate the attack remotely. The exploit has been disclosed to the public and may be used. The identifier VDB-266121 was assigned to this vulnerability.

Weakness: CWE-79

Which versions are affected by CVE-2024-5310?

It affects 1 product.

Products include Heyewei Jfinalcms.

How do I fix CVE-2024-5310?

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

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2024-5310 being exploited?

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

Sources

Is CVE-2024-5310 in your software?

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

Check your SBOMs for free