CVE-2007-6726 — struts2-dojo-plugin
CVE-2007-6726 is a Cross-site Scripting (XSS) vulnerability in org.apache.struts:struts2-dojo-plugin. A fix is available for org.apache.struts:struts2-dojo-plugin — see the affected versions and patch details below.
Apache Struts Dojo Plugin XSS Vulnerability
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
org.apache.struts:struts2-dojo-pluginReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
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/.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.struts:struts2-dojo-plugin | ≥ 0.4.1&&< 0.4.3 | 0.4.3org.apache.struts:struts2-dojo-plugin:0.4.3 |
Affected Products
strutsapachedojodojotoolkitDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.struts:struts2-dojo-plugin, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.struts:struts2-dojo-plugin to 0.4.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2007-6726 is resolved across your whole dependency graph.
Workarounds
Escape or sanitise the affected output on the server side rather than relying on client-side filtering, and add a Content-Security-Policy that blocks inline script execution so injected markup cannot run even if it reaches the page.
Frequently Asked Questions
Is CVE-2007-6726 in your dependencies?
Find it across Maven, including transitive dependencies.