CVE-2024-22497 Cross-site Scripting in JFinal

Medium 6.1 Published Updated

Attackers can execute arbitrary code via XSS in the JFinalcms admin login password parameter using a crafted URL.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-22497?

CVE-2024-22497 is a medium-severity cross-site scripting vulnerability in n/a, published on 23 Jan 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Cross Site Scripting (XSS) vulnerability in /admin/login password parameter in JFinalcms 5.0.0 allows attackers to run arbitrary code via crafted URL.

Weakness: CWE-79

Which versions are affected by CVE-2024-22497?

2 open source packages ship an affected version, including com.jfinal:jfinal. It affects 1 product.

PackageAffectedFixed in
com.jfinal:jfinal MavenAll versions to 5.0.0None
com.jfinal:jfinal MavenAll versions to 5.0.0None

Products include Jfinalcms Project Jfinalcms.

How do I fix CVE-2024-22497?

No fix has been published for CVE-2024-22497 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-22497 being exploited?

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

Sources

Also known as GHSA-qh2w-9m7w-hjg2.

Is CVE-2024-22497 in your software?

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

Check your SBOMs for free