CVE-2024-22497: Cross-site Scripting in JFinal

com.jfinal:jfinal Updated 02 Oct 2025

Summary

23/01/2024
No i
Moderate
6.1

CVE-2024-22497: Cross-site Scripting in JFinal. Affects com.jfinal:jfinal versions < 5.0.0. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

JFinal is a Java-based web framework that is designed to be simple, lightweight, and feature-rich. It provides a set of APIs and conventions to streamline the development process. JFinalcms is an application built on top of JFinal, offering content management capabilities. However, JFinalcms version 5.0.0 is vulnerable to a Cross-Site Scripting (XSS) attack.

Vulnerability Detail

The vulnerability exists in the password parameter of the /admin/login endpoint in JFinalcms 5.0.0. Attackers can exploit this vulnerability by crafting a malicious URL that injects arbitrary code into the application. This can lead to the execution of unauthorized actions, data theft, or the compromise of user accounts. The vulnerability is classified as CWE-79, which refers to improper neutralization of input during web page generation.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Conclusion

JFinalcms 5.0.0 is vulnerable to a Cross-Site Scripting (XSS) attack. It is recommended to upgrade to a patched version of JFinalcms and implement proper input validation and output encoding to mitigate the risk. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.jfinal:jfinal →

Share this vulnerability

FAQ

JFinal is a Java-based web framework that provides a lightweight and feature-rich development environment.

JFinalcms is an application built on top of JFinal, offering content management capabilities.

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by other users.

The vulnerability can allow attackers to execute arbitrary code, leading to unauthorized actions, data theft, or compromise of user accounts.

To protect against XSS attacks, it is important to implement proper input validation and output encoding. Additionally, keeping the application up to date with the latest security patches is crucial.

Related vulnerabilities

Recent vulnerabilities recorded for com.jfinal:jfinal.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback