CVE-2024-22493 Cross-site Scripting in JFinal

Medium 5.4 Published Updated

Remote attackers can inject arbitrary web script or HTML via the guestbook save parameter in JFinalcms, potentially compromising user sessions.

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

What is CVE-2024-22493?

CVE-2024-22493 is a medium-severity cross-site scripting vulnerability in n/a, published on 12 Jan 2024. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

A stored XSS vulnerability exists in JFinalcms 5.0.0 via the /gusetbook/save content parameter, which allows remote attackers to inject arbitrary web script or HTML.

Weakness: CWE-79

Which versions are affected by CVE-2024-22493?

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-22493?

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

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

Sources

Also known as GHSA-3j4x-9q9q-3277.

Is CVE-2024-22493 in your software?

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

Check your SBOMs for free