CVE-2024-22492 Cross-site Scripting in JFinal
Remote attackers can inject arbitrary web script or HTML via the contact 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-22492?
CVE-2024-22492 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 contact parameter, which allows remote attackers to inject arbitrary web script or HTML.
Weakness: CWE-79
Which versions are affected by CVE-2024-22492?
2 open source packages ship an affected version, including com.jfinal:jfinal. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.jfinal:jfinal Maven | All versions to 5.0.0 | None |
com.jfinal:jfinal Maven | All versions to 5.0.0 | None |
Products include Jfinalcms Project Jfinalcms.
How do I fix CVE-2024-22492?
No fix has been published for CVE-2024-22492 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-22492 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-22492 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-859h-4w58-78xw.