CVE-2008-6682 apache struts: Cross-site Scripting
apache struts: no CVSS score yet. EPSS 5.6% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.struts:struts2-core 2.0.11.1, 2.1.1.
On this page
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.
- EPSS
- 5.6% (unchanged from 5.6% a week ago; 5.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 93rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
- OWASP Top 10
- A05:2025 Injection
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
org.apache.struts:struts2-core(Maven): fixed in 2.0.11.1, 2.1.1- Patch: http://www.nabble.com/Feedback%3A-WW-2414%2C-XSS-attack-is-possible-if-using-%3Cs%3Aurl-...%3E-and-%3Cs%3Aa-...%3E-td14771449.html
- Patch: http://www.nabble.com/Feedback%3A-WW-2414%2C-XSS-attack-is-possible-if-using-%3Cs%3Aurl-...%3E-and-%3Cs%3Aa-...%3E-td14771449i20.html
- Vendor advisory: https://issues.apache.org/struts/browse/WW-2414
- Vendor advisory: https://issues.apache.org/struts/browse/WW-2427
Ask an AI about this CVE
Show the prompt
Explain CVE-2008-6682 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2008-6682?via=ask-ai-copy and https://cve.bz/cve/CVE-2008-6682?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2008-6682 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| apache:struts | 2.0.6 |
| apache:struts | 2.0.8 |
| apache:struts | 2.0.9 |
| apache:struts | 2.0.11 |
| apache:struts | 2.1 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-jgcr-9c2q-rvp8 | Maven | org.apache.struts:struts2-core | >=2.0.0 <2.0.11.1 | 2.0.11.1 |
| GHSA-jgcr-9c2q-rvp8 | Maven | org.apache.struts:struts2-core | >=2.1.0 <2.1.1 | 2.1.1 |
Attack patterns (CAPEC)
- CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
- CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
- CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
- CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
- CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
- CAPEC-592 Stored XSS Likelihood: High · Severity: Very High
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://www.nabble.com/Feedback%3A-WW-2414%2C-XSS-attack-is-possible-if-using-%3Cs%3Aurl-...%3E-and-%3Cs%3Aa-...%3E-td14771449.html
- http://www.nabble.com/Feedback%3A-WW-2414%2C-XSS-attack-is-possible-if-using-%3Cs%3Aurl-...%3E-and-%3Cs%3Aa-...%3E-td14771449i20.html
- https://issues.apache.org/struts/browse/WW-2414
- https://issues.apache.org/struts/browse/WW-2427
- http://www.securityfocus.com/bid/34686