CVE-2013-6348 Apache Struts is vulnerable to Cross-site Scripting

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script via the namespace parameter in Apache Struts config-browser actions, requiring user interaction.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2013-6348?

CVE-2013-6348 is a medium-severity cross-site scripting vulnerability in Apache Struts, published on 2 Nov 2013. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Multiple cross-site scripting (XSS) vulnerabilities in Apache Struts 2.3.15.3 allow remote attackers to inject arbitrary web script or HTML via the namespace parameter to (1) actionNames.action and (2) showConfig.action in config-browser/.

Weakness: CWE-79

Which versions are affected by CVE-2013-6348?

2 open source packages ship an affected version, including org.apache.struts:struts2-core. It affects 1 product.

PackageAffectedFixed in
org.apache.struts:struts2-core MavenAll versions2.3.16
org.apache.struts:struts2-core MavenAll versions2.3.16

Products include Apache Struts.

How do I fix CVE-2013-6348?

Upgrade org.apache.struts:struts2-core to 2.3.16 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2013-6348 being exploited?

There is no known exploitation of CVE-2013-6348 in the wild and no public exploit code.

All Apache Struts vulnerabilities

Sources

Also known as GHSA-3g8j-jj54-3vjg.

Is CVE-2013-6348 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free