CVE-2015-2992 Cross-site Scripting in Apache Struts

Medium 6.1 Published Updated

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.

PackageAffectedFixed in
org.apache.struts:struts2-core MavenAll versions2.3.20
org.apache.struts:struts2-core MavenAll versions2.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.

All Apache Struts vulnerabilities

Sources

Also known as GHSA-265r-pp83-gww7.

Is CVE-2015-2992 in your software?

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

Check your SBOMs for free