CVE-2015-2992 Cross-site Scripting in Apache Struts
Attackers can inject malicious scripts into web pages viewed by other users, potentially stealing session cookies or sensitive data.
- 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-2015-2992?
CVE-2015-2992 is a medium-severity cross-site scripting vulnerability in Apache Struts, published on 27 Feb 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
Apache Struts before 2.3.20 has a cross-site scripting (XSS) vulnerability.
Weakness: CWE-79
Which versions are affected by CVE-2015-2992?
2 open source packages ship an affected version, including org.apache.struts:struts2-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.struts:struts2-core Maven | All versions | 2.3.20 |
org.apache.struts:struts2-core Maven | All versions | 2.3.20 |
Products include Apache Struts.
How do I fix CVE-2015-2992?
Upgrade org.apache.struts:struts2-core to 2.3.20 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-2015-2992 being exploited?
There is no known exploitation of CVE-2015-2992 in the wild and no public exploit code.
Other vulnerabilities in Apache Struts
Sources
Also known as GHSA-265r-pp83-gww7.