CVE-2020-29204 Cross-site Scripting in XXL-JOB

Medium 6.1 Published Updated

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.

PackageAffectedFixed in
com.xuxueli:xxl-job-core MavenAll versions2.3.0
com.xuxueli:xxl-job-core MavenAll versions2.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.

Sources

Also known as GHSA-wc73-w5r9-x9pc.

Is CVE-2020-29204 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free