VDB
Sign up
MEDIUM

GHSA-jgcr-9c2q-rvp8

Apache Struts is vulnerable to Cross-site Scripting

Quick fix

GHSA-jgcr-9c2q-rvp8 — org.apache.struts:struts2-core: upgrade to the fixed version with the command below.

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

Details

Multiple cross-site scripting (XSS) vulnerabilities in Apache Struts 2.0.x before 2.0.11.1 and 2.1.x before 2.1.1 allow remote attackers to inject arbitrary web script or HTML via vectors associated with improper handling of (1) " (double quote) characters in the href attribute of an s:a tag and (2) parameters in the action attribute of an s:url tag.

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.0.11.1
Fix# pom.xml: bump <version>2.0.11.1</version> for org.apache.struts:struts2-core
Maven/org.apache.struts:struts2-core
Introduced in: 2.1.0Fixed in: 2.1.1
Fix# pom.xml: bump <version>2.1.1</version> for org.apache.struts:struts2-core

References