CVE-2020-29204 Cross-site Scripting in XXL-JOB
Stored XSS in XXL-JOB admin allows attackers to execute scripts, potentially leading to session hijacking or account takeover.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2020-29204?
CVE-2020-29204 is a medium-severity cross-site scripting vulnerability in n/a, published on 27 Dec 2020. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
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/job/admin/controller/UserController.java.
Weakness: CWE-79
Which versions are affected by CVE-2020-29204?
2 open source packages ship an affected version, including com.xuxueli:xxl-job-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
com.xuxueli:xxl-job-core Maven | All versions | 2.3.0 |
com.xuxueli:xxl-job-core Maven | All versions | 2.3.0 |
Products include Xuxueli Xxl-Job.
How do I fix CVE-2020-29204?
Upgrade com.xuxueli:xxl-job-core to 2.3.0 or later.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2020-29204 being exploited?
There is no known exploitation of CVE-2020-29204 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in n/a
- CVE-2022-40929 XXL-JOB contains a Command execution vulnerability in background tasks
- CVE-2024-42681 Improper Preservation of Permissions in xxl-job
- CVE-2024-24113 XXL-JOB vulnerable to Server-Side Request Forgery
- CVE-2023-48089 xxl-job-admin vulnerable to Remote Code Execution
- CVE-2020-24922 xuxueli xxl-job Cross-Site Request Forgery Vulnerability
Sources
Also known as GHSA-wc73-w5r9-x9pc.