🛡️ CVE-2015-2992 — struts2-core
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
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| org.apache.struts:struts2-core | — | 2.3.20 |
References
Similar Threats
- Unknown CLSA-2025-1754006617
- Unknown CLSA-2026-1782781173
- Unknown CVE-2008-6505
- Unknown CVE-2008-6682
- Low CVE-2011-1772
More CVE 2015 advisories
Browse all of CVE 2015 in the advisory index.
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.