Skip to main content

Xuxueli xxl-job CVE-2025-7787

LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2025-07-18 cna@vuldb.com
2.1
CVSS 4.0 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid xxl-job credentials
  2. Delivery
    Access job definition interface
  3. Exploit
    Create HTTP job targeting internal resource
  4. Execution
    Job executes and makes request
  5. Impact
    Attacker 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.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

maven com.xuxueli:xxl-job-core no fix

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

NVD PRIMARY 2.1 LOW
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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

EPSS Score
0.1%
Top 68% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.1%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

Affected Products (CPE)CVE.org

cpe:2.3:a:xuxueli:xxl-job:*:*:*:*:*:*:*:*
CVE-2024-3366 CRITICAL POC
9.8 Apr 06

A vulnerability classified as problematic was found in Xuxueli xxl-job up to 2.4.1. Rated critical severity (CVSS 9.8),

CVE-2022-40929 CRITICAL POC
9.8 Sep 28

XXL-JOB 2.2.0 has a Command execution vulnerability in background tasks. Rated critical severity (CVSS 9.8), this vulner

CVE-2023-33779 HIGH POC
8.8 May 26

A lateral privilege escalation vulnerability in XXL-Job v2.4.1 allows users to execute arbitrary commands on another use

CVE-2024-42681 HIGH POC
8.8 Aug 15

Insecure Permissions vulnerability in xxl-job v.2.4.1 allows a remote attacker to execute arbitrary code via the Sub-Tas

CVE-2024-24113 HIGH POC
8.8 Feb 08

xxl-job =< 2.4.1 has a Server-Side Request Forgery (SSRF) vulnerability, which causes low-privileged users to control ex

CVE-2023-48089 HIGH POC
8.8 Nov 15

xxl-job-admin 2.4.0 is vulnerable to Remote Code Execution (RCE) via /xxl-job-admin/jobcode/save. Rated high severity (C

CVE-2022-43183 HIGH POC
8.8 Nov 17

XXL-Job before v2.3.1 contains a Server-Side Request Forgery (SSRF) via the component /admin/controller/JobLogController

CVE-2022-29002 HIGH POC
8.8 May 23

A Cross-Site Request Forgery (CSRF) in XXL-Job v2.3.0 allows attackers to arbitrarily create administrator accounts via

CVE-2023-27087 HIGH POC
7.5 Mar 21

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

CVE-2023-0674 MEDIUM POC
6.5 Feb 04

A vulnerability, which was classified as problematic, has been found in XXL-JOB 2.3.1. Rated medium severity (CVSS 6.5),

CVE-2023-26120 MEDIUM POC
6.1 Apr 10

This affects all versions of the package com.xuxueli:xxl-job. Rated medium severity (CVSS 6.1), this vulnerability is re

CVE-2020-29204 MEDIUM POC
6.1 Dec 27

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

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy