CVE-2023-26120: XXL-JOB Cross-site Scripting Vulnerability

com.xuxueli:xxl-job Updated 02 Oct 2025

Summary

10/04/2023
No i
Moderate
6.1

CVE-2023-26120: XXL-JOB vulnerable to Cross-site Scripting. Affects com.xuxueli:xxl-job versions < 2.4.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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

XXL-JOB is an open-source job scheduling framework that allows users to manage and execute tasks in distributed systems. It provides a web-based administration interface for managing users and jobs. The vulnerability in XXL-JOB versions 2.4.0 and earlier allows for cross-site scripting (XSS) attacks. This means that an attacker can inject malicious HTML code into the application, which will be executed when viewed by other users.

Vulnerability Detail

The XXL-JOB vulnerability arises from improper input sanitization in the user management functionality. Specifically, the /xxl-job-admin/user/add and /xxl-job-admin/user/update endpoints do not properly validate and sanitize user-supplied input, allowing an attacker to inject arbitrary HTML code. This can lead to various security risks, including session hijacking, defacement of web pages, and the theft of sensitive information.

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 manually sanitize any user-supplied input before submitting it through the affected endpoints. This can be done by removing or encoding any HTML tags and special characters. However, this is not a foolproof solution and should only be used until a proper fix is implemented.

Conclusion

The XXL-JOB cross-site scripting vulnerability in versions 2.4.0 and earlier poses a significant security risk. It allows attackers to inject and execute arbitrary HTML code, potentially leading to various malicious activities. To mitigate this vulnerability, it is crucial to implement proper input validation and sanitization techniques. Users can also manually sanitize user-supplied input as a temporary workaround. 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 an open-source job scheduling framework used for managing and executing tasks in distributed systems.

XXL-JOB versions 2.4.0 and earlier are affected by this cross-site scripting vulnerability.

This vulnerability allows an attacker to inject and execute arbitrary HTML code, which can lead to various security risks such as session hijacking, defacement of web pages, and theft of sensitive information.

To fix this vulnerability, the XXL-JOB development team should implement proper input validation and sanitization techniques. Users can also manually sanitize user-supplied input as a temporary workaround.

Yes, the CVSS score for this vulnerability is 6.1.

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