CVE-2019-12416 Injection in DeltaSpike
Attackers can execute arbitrary scripts via injection in DeltaSpike windowhandler.js when ClientSideWindowStrategy is enabled.
- 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-2019-12416?
CVE-2019-12416 is a medium-severity cross-site scripting vulnerability in Apache DeltaSpike, published on 19 Mar 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
we got reports for 2 injection attacks against the DeltaSpike windowhandler.js. This is only active if a developer selected the ClientSideWindowStrategy which is not the default.
Weakness: CWE-74
Which versions are affected by CVE-2019-12416?
2 open source packages ship an affected version, including org.apache.deltaspike:deltaspike. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.deltaspike:deltaspike Maven | All versions | 1.9.4 |
org.apache.deltaspike:deltaspike Maven | All versions | 1.9.4 |
Products include Apache Deltaspike.
How do I fix CVE-2019-12416?
Upgrade org.apache.deltaspike:deltaspike to 1.9.4 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-2019-12416 being exploited?
There is no known exploitation of CVE-2019-12416 in the wild and no public exploit code.
Other vulnerabilities in Apache DeltaSpike
Sources
Also known as GHSA-rhg5-fqr3-hrf5.