CVE-2005-3745:
Apache Struts Cross-site scripting Vulnerability
N/A
CVSS Score
Basic Information
CVE ID
GHSA ID
EPSS Score
0.9796%
CWE
Published
5/1/2022
Updated
9/18/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
-
Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
---|---|---|---|
org.apache.struts:struts-core | maven | <= 1.2.7 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability occurs because the query string is included unescaped in error messages generated by the request handler. In Apache Struts 1.x, the RequestProcessor class is responsible for processing requests and generating errors. Its process() method validates actions and parameters, and when invalid inputs are detected (e.g., non-existent actions), it constructs error messages using the raw request URI (including the query string). Since the query string is not HTML-encoded in these error messages, it allows XSS payloads to execute. This aligns with the CWE-80 description and the vulnerability's root cause described in the advisory.