CVE-2008-6682
MEDIUM 4.3CVSS 2.0Apache Struts is vulnerable to Cross-site Scripting
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.
- Published
- 9 Apr 2009
- Last modified
- 16 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-jgcr-9c2q-rvp8
- Sources
- NVDJSONOSV GHSA-jgcr-9c2q-rvp8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.6:*:*:*:*:*:*:* |
= 2.0.6 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.8:*:*:*:*:*:*:* |
= 2.0.8 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.9:*:*:*:*:*:*:* |
= 2.0.9 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.0.11:*:*:*:*:*:*:* |
= 2.0.11 | |
| NVD | apache | strutscpe:2.3:a:apache:struts:2.1:*:*:*:*:*:*:* |
= 2.1 | |
| OSV | Maven | org.apache.struts:struts2-core | >= 2.0.0, < 2.0.11.1 | 2.0.11.1 |
| OSV | Maven | org.apache.struts:struts2-core | >= 2.1.0, < 2.1.1 | 2.1.1 |
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 · 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 · Patch
- http://www.securityfocus.com/bid/34686
- https://issues.apache.org/struts/browse/WW-2414 · Vendor Advisory, WEB
- https://issues.apache.org/struts/browse/WW-2427 · Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2008-6682 · ADVISORY
- https://github.com/apache/struts/commit/09147ffad2b3046ed21af0f524c5088e2ac551e6 · WEB
- https://github.com/apache/struts/commit/bd3f2f59c9b09f70aed3ebab6bb69b464ee2d6cb · WEB
- https://github.com/apache/struts/commit/dae026a0f0511f83852053bae9d5a622e7f80486 · WEB
- https://github.com/apache/struts · PACKAGE
- https://web.archive.org/web/20080610075918/http://www.nabble.com/Feedback%3A-WW-2414%2C-XSS-attack-is-possible-if-using-%3Cs%3Aurl-...%3E-and-%3Cs%3Aa-...%3E-td14771449i20.html · WEB
- https://web.archive.org/web/20080611112834/http://www.nabble.com/Feedback%3A-WW-2414%2C-XSS-attack-is-possible-if-using-%3Cs%3Aurl-...%3E-and-%3Cs%3Aa-...%3E-td14771449.html · WEB
- https://web.archive.org/web/20200229155553/http://www.securityfocus.com/bid/34686 · WEB
History
- 25 Nov 2026 20:15 UTC · NVD: first stored (published 9 Apr 2009)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2022)