CVE-2015-2992
mediumpriority · track · 26EPSS 0.058 · 93 %ileEURUUSEPSS · scored 2026-10-27
Apache Struts before 2.3.20 has a cross-site scripting (XSS) vulnerability.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (6)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-265r-pp83-gww7Cross-site Scripting in Apache Struts2022-05-24ghsa · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (14)
External citations — patches, advisories, analysis.
- http://jvn.jp/en/jp/JVN88408929/index.htmlcnnvd
- http://jvndb.jvn.jp/en/contents/2015/JVNDB-2015-000124.htmlcnnvd
- https://nvd.nist.gov/vuln/detail/CVE-2015-2992cnnvd
- https://security.netapp.com/advisory/ntap-20200330-0001/cnnvd
- https://struts.apache.org/docs/s2-025.htmlPatchcnnvd
- https://www.securityfocus.com/bid/76624cnnvd
- http://jvn.jp/en/jp/JVN88408929/index.htmlenisa_euvd
- http://jvndb.jvn.jp/en/contents/2015/JVNDB-2015-000124.htmlenisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan