Xuxueli xxl-job
CVE-2025-7788
LOW
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
1DescriptionCVE.org
A vulnerability has been found in Xuxueli xxl-job up to 3.1.1 and classified as critical. Affected by this vulnerability is the function commandJobHandler of the file src\main\java\com\xxl\job\executor\service\jobhandler\SampleXxlJob.java. The manipulation leads to os command injection. The attack can be launched remotely. The exploit has been disclosed to the public and may be used.
AnalysisAI
OS command injection in Xuxueli xxl-job up to version 3.1.1 allows authenticated remote attackers to execute arbitrary operating system commands via the commandJobHandler function in SampleXxlJob.java. The vulnerability has a publicly available exploit and is rated critical by the discoverer, though the CVSS 4.0 score of 2.1 reflects limited scope (authenticated access required, low confidentiality/integrity/availability impact). With EPSS at 0.71% (72nd percentile), real-world exploitation probability is low despite public POC availability.
Technical ContextAI
xxl-job is a distributed job scheduling platform written in Java. The vulnerability exists in the SampleXxlJob.java file's commandJobHandler function, which processes job execution commands. CWE-77 (Improper Neutralization of Special Elements used in a Command-'Command Injection') indicates that user-supplied input is passed unsanitized to OS command execution APIs (likely Runtime.exec() or ProcessBuilder in Java). The CPE data (cpe:2.3:a:xuxueli:xxl-job:*:*:*:*:*:*:*:*) indicates all versions up to 3.1.1 are affected. The vulnerability resides in job handler logic, suggesting it may be triggered during scheduled job execution or job parameter submission.
RemediationAI
Upgrade Xuxueli xxl-job to a patched version above 3.1.1 once released by the vendor; however, no confirmed fix version is available in the provided data. As an interim control, restrict job submission and parameter editing permissions to trusted administrators only via role-based access control (RBAC) in the xxl-job console-this eliminates the attack vector if job commands are not user-supplied. Additionally, implement OS-level command injection defenses: disable shell metacharacters (|, &, $, backticks, semicolons) in job parameter input validation, or use allowlisting for permitted command patterns. Monitor the official GitHub repository (https://github.com/xuxueli/xxl-job) and issue #3750 for patch availability and workaround details. Trade-off: strict parameter validation may break legitimate dynamic job configurations; consider allowlisting known safe patterns rather than blocklisting.
A vulnerability classified as problematic was found in Xuxueli xxl-job up to 2.4.1. Rated critical severity (CVSS 9.8),
XXL-JOB 2.2.0 has a Command execution vulnerability in background tasks. Rated critical severity (CVSS 9.8), this vulner
A lateral privilege escalation vulnerability in XXL-Job v2.4.1 allows users to execute arbitrary commands on another use
Insecure Permissions vulnerability in xxl-job v.2.4.1 allows a remote attacker to execute arbitrary code via the Sub-Tas
xxl-job =< 2.4.1 has a Server-Side Request Forgery (SSRF) vulnerability, which causes low-privileged users to control ex
xxl-job-admin 2.4.0 is vulnerable to Remote Code Execution (RCE) via /xxl-job-admin/jobcode/save. Rated high severity (C
XXL-Job before v2.3.1 contains a Server-Side Request Forgery (SSRF) via the component /admin/controller/JobLogController
A Cross-Site Request Forgery (CSRF) in XXL-Job v2.3.0 allows attackers to arbitrarily create administrator accounts via
Permissions vulnerabiltiy found in Xuxueli xxl-job v2.2.0, v 2.3.0 and v.2.3.1 allows attacker to obtain sensitive infor
A vulnerability, which was classified as problematic, has been found in XXL-JOB 2.3.1. Rated medium severity (CVSS 6.5),
This affects all versions of the package com.xuxueli:xxl-job. Rated medium severity (CVSS 6.1), this vulnerability is re
XXL-JOB 2.2.0 allows Stored XSS (in Add User) to bypass the 20-character limit via xxl-job-admin/src/main/java/com/xxl/j
Same weakness CWE-77 – Command Injection
View allSame technique Command Injection
View allShare
External POC / Exploit Code
Leaving vuln.today