CVE-2024-3366: Xuxueli xxl-job template injection vulnerability

com.xuxueli:xxl-job-core Updated 02 Oct 2025

Summary

06/04/2024
No i
Low
3.5

CVE-2024-3366: Xuxueli xxl-job template injection vulnerability. Affects com.xuxueli:xxl-job-core versions < 2.4.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 Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Xuxueli xxl-job package is a Maven ecosystem component that provides a template handler for job scheduling and execution. It is commonly used in Java applications to manage and execute background tasks. The package offers various features and utilities to simplify job management and scheduling processes. However, a vulnerability has been discovered in version 2.4.0 of the package, which allows for template injection attacks.

Vulnerability Detail

The vulnerability in Xuxueli xxl-job version 2.4.0 resides in the deserialize function of the com/xxl/job/core/util/JdkSerializeTool.java file within the Template Handler component. This vulnerability enables an attacker to inject malicious code through template injection. The exploit has been publicly disclosed, increasing the risk of potential attacks. The Common Vulnerabilities and Exposures (CVE) identifier for this vulnerability is CVE-2024-3366. The vulnerability has a CVSS score of 3.5, indicating a moderate severity level.

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 →

Workaround

At present, there is no known workaround for this vulnerability. It is essential to apply the recommended fix by upgrading to a secure version of Xuxueli xxl-job.

Conclusion

The Xuxueli xxl-job package version 2.4.0 is vulnerable to template injection, which can lead to the execution of arbitrary code. To mitigate this risk, it is crucial to upgrade to a secure version of the package and update project dependencies. It is also recommended to review and update any custom code that interacts with the vulnerable component. For further assistance or support in addressing this vulnerability, please contact DevNack.com.

See every vulnerability recorded for com.xuxueli:xxl-job-core →

Share this vulnerability

FAQ

Xuxueli xxl-job is a Maven ecosystem package used for job scheduling and execution in Java applications. It provides utilities and features to simplify background task management.

Template injection is a vulnerability that allows an attacker to inject malicious code into a template file, which is then executed in the context of the application. In the case of Xuxueli xxl-job, the template injection vulnerability can be exploited to execute arbitrary code.

This vulnerability can be exploited by an attacker to execute arbitrary code within the context of the application using Xuxueli xxl-job. This could lead to unauthorized access, data breaches, or further compromise of the affected system.

Yes, it is recommended to upgrade to a secure version of Xuxueli xxl-job that includes a patch or fix for the template injection vulnerability. Developers should update their project's dependencies to mitigate the risk.

For more information about this vulnerability, you can refer to the CVE-2024-3366 entry or consult the official documentation and release notes of Xuxueli xxl-job.

Related vulnerabilities

Recent vulnerabilities recorded for com.xuxueli:xxl-job-core.

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