CVE-2020-24922
Description
Cross Site Request Forgery (CSRF) vulnerability in xxl-job-admin/user/add in xuxueli xxl-job version 2.2.0, allows remote attackers to execute arbitrary code and esclate privileges via crafted .html file.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Cross-Site Request Forgery (CSRF) in XXL-JOB admin panel allows unauthenticated attackers to add arbitrary administrator accounts remotely.
Vulnerability
Overview
Cross-Site Request Forgery (CSRF) vulnerability exists in the xxl-job-admin/user/add endpoint of xuxueli XXL-JOB version 2.2.0. The application fails to implement anti-CSRF tokens or origin validation on the user creation form, allowing an attacker to forge requests that add new administrator accounts without the victim's consent [1][2].
Attack
Vector
An authenticated administrator must visit a malicious HTML page crafted by the attacker. The page contains a hidden form that automatically submits a POST request to the vulnerable endpoint, supplying parameters such as username, password, role, and permission. Since the victim's browser includes session cookies, the forged request is processed as legitimate [3]. No special privileges or network position are required beyond enticing the administrator to the malicious page.
Impact
Successful exploitation allows the attacker to create a new admin account (test1 with role 0 meaning administrator and permission 1), granting full control over the XXL-JOB scheduling platform. This can lead to arbitrary job execution, data exfiltration, and lateral movement within the affected infrastructure.
Mitigation
The issue was publicly disclosed in the project's issue tracker [3], but as of the report date no official patch was confirmed for version 2.2.0. Upgrading to a later version or implementing CSRF protections such as synchronizer tokens, same-site cookies, or referrer checks is strongly advised.
AI Insight generated on May 20, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.xuxueli:xxl-jobMaven | <= 2.2.0 | — |
Affected products
2- xuxueli/xxl-jobdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-jp5r-4x9q-4vcfghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-24922ghsaADVISORY
- github.com/xuxueli/xxl-job/issues/1921ghsaWEB
News mentions
0No linked articles in our index yet.