Xuxueli xxl-job
CVE-2025-7787
LOW
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid xxl-job credentials
-
DeliveryAccess job definition interface
-
ExploitCreate HTTP job targeting internal resource
-
ExecutionJob executes and makes request
-
ImpactAttacker retrieves sensitive response data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires the following specific conditions: (1) an authenticated user account on the xxl-job platform (PR:L in CVSS vector); (2) the httpJobHandler job type must be available and not explicitly disabled; (3) the xxl-job executor must have network access to internal resources or cloud metadata endpoints that the attacker wishes to target; (4) the job definition interface must be accessible to the attacker (either directly or via a compromised credential). Exploitation is NOT possible against default installations if: network-level segmentation prevents the executor from reaching internal services, the httpJobHandler is explicitly removed or disabled, or strong access controls are enforced on the job definition API. The vulnerability does not require elevated privileges on the xxl-job process itself or any special system configuration, only valid authenticated credentials. |
| Impact | This vulnerability presents a moderate real-world risk despite its low CVSS score of 2.1. The CVSS vector indicates authentication is required (PR:L) and impact is limited to confidentiality (VC:L/VI:L/VA:L), but several factors elevate practical risk: (1) the EPSS score of 0.13% (32nd percentile) suggests low widespread exploitation probability, yet this reflects only early disclosure statistics; (2) publicly available exploit code exists, lowering the barrier to weaponization; (3) xxl-job's use in job scheduling infrastructure means compromised instances can be leveraged for lateral movement and reconnaissance of internal networks; (4) the attack vector is network-accessible (AV:N/AC:L) with low attack complexity. The discrepancy between the critical classification in the description and the low CVSS score (2.1) appears to reflect a downgrade following vendor assessment. Organizations running xxl-job with exposed job definition endpoints or weak credential controls should treat this as a priority fix. The real risk depends on deployment: isolated internal deployments with strong access controls face minimal risk, while xxl-job instances accessible to untrusted users or with default credentials present elevated risk. |
| Exploit ScenarioDerived | An authenticated attacker with access to xxl-job's job definition interface creates a scheduled job that uses the vulnerable httpJobHandler with a malicious URL pointing to an internal service (e.g., http://localhost:8080/admin or http://169.254.169.254/latest/meta-data/ on cloud deployments). When the job executes on the xxl-job executor node, the handler makes the HTTP request on the executor's behalf, returning responses containing sensitive data (cloud credentials, internal API responses, or application configuration) that the attacker cannot directly access from their network position. Publicly available exploit code accelerates weaponization of this attack pattern. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 29, 2026
Server-side request forgery in Xuxueli xxl-job up to version 3.1.1 allows authenticated remote attackers to perform SSRF attacks via the httpJobHandler function, enabling access to internal network resources. The vulnerability has a low CVSS score (2.1) due to required authentication and limited confidentiality impact, but publicly available exploit code exists and should be remediated promptly in affected deployments.
RemediationAI
Upgrade to xxl-job version 3.1.2 or later, which contains patches addressing the SSRF vulnerability in httpJobHandler. Users unable to immediately upgrade should implement the following compensating controls: (1) restrict network access to the xxl-job admin console and executor API endpoints using firewall rules or network segmentation, allowing only trusted job definition sources; (2) disable or isolate the httpJobHandler job type entirely if not required for business operations; (3) enforce strong authentication for xxl-job access (move beyond default credentials if deployed); (4) implement outbound filtering on the xxl-job executor network segment to block requests to internal IP ranges (169.254.x.x for metadata services, 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) using host-based firewall rules or WAF policies. Each mitigation carries trade-offs: endpoint restrictions may limit legitimate job distribution, handler disabling may break dependent workflows, and egress filtering could block legitimate internal service calls. Patching is strongly preferred. Monitor GitHub issue #3749 and official xxl-job releases for confirmed patched versions.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in maven
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
xxl-job is a distributed job scheduling and execution platform written in Java. The vulnerability exists in the SampleXxlJob.java file's httpJobHandler function, which handles HTTP requests as part of job execution logic. The root cause is classified as CWE-918 (Server-Side Request Forgery), indicating insufficient validation of URLs or request destinations provided by authenticated users. An attacker with valid credentials can manipulate HTTP requests issued by the job handler to target internal services, bypassing network-level access controls and potentially accessing cloud metadata endpoints, internal APIs, or other protected resources on the same network segment as the xxl-job executor.
Know when Xxl Job gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
DescriptionCVE.org
A vulnerability, which was classified as critical, was found in Xuxueli xxl-job up to 3.1.1. Affected is the function httpJobHandler of the file src\main\java\com\xxl\job\executor\service\jobhandler\SampleXxlJob.java. The manipulation leads to server-side request forgery. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Affected Products (CPE)CVE.org
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
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB