CVE-2007-6726 Apache Struts Dojo Plugin XSS Vulnerability

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML via XSS vulnerabilities in Dojo library files, affecting applications using this library.

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-2007-6726?

CVE-2007-6726 is a medium-severity cross-site scripting vulnerability in Apache Struts, published on 9 Apr 2009. 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 Dojo 0.4.1 and 0.4.2, as used in Apache Struts and other products, allow remote attackers to inject arbitrary web script or HTML via unspecified vectors involving (1) xip_client.html and (2) xip_server.html in src/io/.

Weakness: CWE-79

Which versions are affected by CVE-2007-6726?

2 open source packages ship an affected version, including org.apache.struts:struts2-dojo-plugin. It affects 2 products.

PackageAffectedFixed in
org.apache.struts:struts2-dojo-plugin MavenFrom 0.4.10.4.3
org.apache.struts:struts2-dojo-plugin MavenFrom 0.4.10.4.3

Products include Apache Struts, Dojotoolkit Dojo.

How do I fix CVE-2007-6726?

Upgrade org.apache.struts:struts2-dojo-plugin to 0.4.3 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-2007-6726 being exploited?

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

All Apache Struts vulnerabilities

Sources

Also known as GHSA-rm26-w253-9qv7.

Is CVE-2007-6726 in your software?

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

Check your SBOMs for free