🛡️ CVE-2015-2992 — struts2-core

⚪ Unknown ✅ No Known Exploit CWE-79 OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Cross-site Scripting in Apache Struts

When the Struts2 debug mode is turned on, under certain conditions an arbitrary script may be executed in the 'Problem Report' screen. Also if JSP files are exposed to be accessed directly it's possible to execute an arbitrary script.

It is generally not advisable to have debug mode switched on outside of the development environment. Debug mode should always be turned off in production setup. Also never expose JSPs files directly and hide them inside WEB-INF folder or define dedicated security constraints to block access to raw JSP files.

Struts >= 2.3.20 is not vulnerable to this attack. We recommend upgrading to Struts 2.3.20 or higher if turning off debug mode is not possible.

Weakness class

CVE-2015-2992 is classified as CWE-79: Cross-site Scripting (XSS). User-supplied data is written into a page without escaping, so attacker script runs in the browser of anyone who views it.

Affected software

CVE-2015-2992 is recorded against 1 package.

  • org.apache.struts:struts2-core (fixed in 2.3.20)

Timeline and source

Published on 24 May 2022 and last revised on 4 December 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

nvd.nist.gov (Advisory)
cwiki.apache.org (Web)
cwiki.apache.org (Web)
github.com (Package)
security.netapp.com (Web)
jvn.jp (Web)
jvndb.jvn.jp (Web)
www.securityfocus.com (Web)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE CWE-79
Public Exploit ✅ No
Source OSV
Published 2022-05-24
Updated 2026-08-12
Modified 2024-12-04
Fix URL N/A

Affected Packages

Software From version Fixed in
org.apache.struts:struts2-core 2.3.20

Similar Threats

Free Vulnerability Check

Is your site affected by CVE-2015-2992?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against CVE-2015-2992 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.