CVE-2011-1772
Cross-site Scripting in Apache Struts
EPSS 33.1%
Description
Multiple Cross-Site Scripting (XSS) in XWork generated error pages in Apache Struts. By default, XWork doesn't escape action's names in automatically generated error page, allowing for a successful XSS attack. When Dynamic Method Invocation (DMI) is enabled, the action name is generated dynamically base on request parameters. This allows to call non-existing page and method to produce error page with injected code as below. As of Struts 2.2.3 the action names are escaped when automatically generated error pages are rendered.
How to fix CVE-2011-1772
To remediate CVE-2011-1772, upgrade the affected package to a fixed version below.
- —upgrade to 2.2.3 or later
Is CVE-2011-1772 being exploited?
Moderate — EPSS is 33.1%. Track this CVE but it's not at the top of the prioritisation list.
Affected packages (1)
- from 0, < 2.2.3