VDB
Sign up
MEDIUM6.1

GHSA-m3x6-9v6h-4g28

Cross-site Scripting in Apache Struts

Quick fix

GHSA-m3x6-9v6h-4g28 — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.

# pom.xml: bump <version>2.3.28</version> for org.apache.struts:struts2-core

Details

Cross-site scripting (XSS) vulnerability in the URLDecoder function in JRE before 1.8, as used in Apache Struts 2.x before 2.3.28, when using a single byte page encoding, allows remote attackers to inject arbitrary web script or HTML via multi-byte characters in a url-encoded parameter.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/org.apache.struts:struts2-core
Introduced in: 2.0.0Fixed in: 2.3.28
Fix# pom.xml: bump <version>2.3.28</version> for org.apache.struts:struts2-core

References