CVE-2020-23811: xxl-job sensitive data exposure

com.xuxueli:xxl-job Updated 02 Oct 2025

Summary

24/05/2022
No i
High
7.5

CVE-2020-23811: xxl-job sensitive data exposure. Affects com.xuxueli:xxl-job versions < 2.2.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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

xxl-job is a Maven package that provides job scheduling and management capabilities. It is commonly used in Java applications to handle background tasks and job execution. This vulnerability affects version 2.2.0 of xxl-job. The package allows the exposure of sensitive information, including usernames, models, and passwords, through the UserController.java file.

Vulnerability Detail

The vulnerability in xxl-job 2.2.0 allows an attacker to access sensitive data by exploiting the UserController.java file. This file contains code that inadvertently exposes usernames, models, and passwords. An attacker with access to this information can potentially gain unauthorized access to the system and perform malicious actions. The severity of this vulnerability is rated as HIGH with a CVSS score of 7.5.

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

As a temporary workaround, users can modify the UserController.java file to remove or obfuscate the sensitive data. This can be achieved by modifying the code responsible for handling the sensitive information and ensuring it is not exposed in any responses or logs. Here is an example of how the code can be modified:

// Remove sensitive data from UserController.java

// Before
return new ResponseEntity<>(user, HttpStatus.OK);

// After
user.setPassword(null);
return new ResponseEntity<>(user, HttpStatus.OK);

Conclusion

The xxl-job package version 2.2.0 is vulnerable to sensitive data exposure. It is crucial to upgrade to a patched version of xxl-job to mitigate this vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

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

Share this vulnerability

FAQ

xxl-job is a Maven package that provides job scheduling and management capabilities for Java applications.

Version 2.2.0 of xxl-job is affected by this vulnerability.

This vulnerability exposes sensitive data, including usernames, models, and passwords, which can be used by attackers to gain unauthorized access to the system.

To fix this vulnerability, it is recommended to upgrade to a patched version of xxl-job beyond 2.2.0.

Yes, a temporary workaround is to modify the UserController.java file to remove or obfuscate the sensitive data.

Related vulnerabilities

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

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