CVE-2021-44585 Cross-site Scripting in jeecg-boot
An attacker can execute arbitrary scripts in the JeecgBoot reporting view via a mouseover event, potentially compromising user sessions.
- 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-2021-44585?
CVE-2021-44585 is a medium-severity cross-site scripting vulnerability in Jeecg Jeecg Boot, published on 10 Mar 2022. 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
A Cross Site Scripting (XSS) vulnerabilitiy exits in jeecg-boot 3.0 in /jeecg-boot/jmreport/view with a mouseover event.
Weakness: CWE-79
Which versions are affected by CVE-2021-44585?
4 open source packages ship an affected version, including org.jeecgframework.boot:jeecg-boot-base and org.jeecgframework.boot:jeecg-boot-base-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jeecgframework.boot:jeecg-boot-base Maven | All versions | 3.1.0 |
org.jeecgframework.boot:jeecg-boot-base Maven | All versions | 3.1.0 |
org.jeecgframework.boot:jeecg-boot-base-core Maven | All versions | 3.1.0 |
org.jeecgframework.boot:jeecg-boot-base-core Maven | All versions | 3.1.0 |
Products include Jeecg Jeecg Boot.
How do I fix CVE-2021-44585?
Upgrade org.jeecgframework.boot:jeecg-boot-base to 3.1.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-2021-44585 being exploited?
There is no known exploitation of CVE-2021-44585 in the wild and no public exploit code.
Other vulnerabilities in Jeecg Jeecg Boot
Sources
Also known as GHSA-q448-6c3m-cxmj.