What happened
In xuxueli xxl-job 3.5.0 / 3.5.1-SNAPSHOT, the difyWorkflowJobHandler function in XXL-Job's AI Executor sample processes the baseUrl argument without restricting destination, enabling server-side request forgery. The attack can be initiated remotely; the vendor did not respond to the disclosure. CVSS 6.3 (CVSS 3.1).
Why it matters
The AI Executor sample wires xxl-job (a popular distributed task scheduler used in data/ML pipelines) to Dify workflow endpoints. An attacker controlling the job configuration can make the scheduler issue requests to internal/cloud-metadata endpoints, turning a scheduled job into an SSRF primitive inside the ML/scheduling network.
Attack vector
Remote — an authenticated job author supplies a crafted baseUrl to the Dify workflow handler, causing the scheduler to request attacker-chosen internal endpoints.
Affected systems
xuxueli xxl-job 3.5.0 / 3.5.1-SNAPSHOT (AI Executor sample, difyWorkflowJobHandler)
Mitigation
No vendor fix; validate/allowlist the baseUrl destination and restrict outbound egress from the job executor.