CVE-2008-6682
Apache Struts is vulnerable to Cross-site Scripting
Also known as GHSA-jgcr-9c2q-rvp8
Mitigation
- Upgrade org.apache.struts:struts2-core to one of 2.0.11.1, 2.1.1 (or later in the same release line).
Who should check
- Projects that depend on Maven package org.apache.struts:struts2-core (>= 2.0.0, < 2.0.11.1)
- Anyone running n/a (versions: see the vendor advisory)
Vulnerability facts
- Affected
- org.apache.struts:struts2-core >= 2.0.0, < 2.0.11.1
- Fixed in
- 2.0.11.1, 2.1.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 4.3 (v2.0, NVD)AV:N/AC:M/Au:N/C:N/I:P/A:N
Show all 6 CVSS metrics
- Attack vector: Network
- Attack complexity: Medium
- Authentication: None
- Confidentiality impact: None
- Integrity impact: Partial
- Availability impact: None
- EPSS
- 5.61% chance of exploitation in 30 days (percentile 94, 2026-11-26)
- CWE
- CWE-79
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.apache.struts:struts2-core | >= 2.0.0, < 2.0.11.1 | 2.0.11.1, 2.1.1 | osv |
| n/a | — | — | nvd |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2008-6682. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2008-6682.md Affected: org.apache.struts:struts2-core >= 2.0.0, < 2.0.11.1 Fixed in: 2.0.11.1, 2.1.1 Steps: 1. Search this machine and project for org.apache.struts:struts2-core (Maven), n/a: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
- 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://github.com/apache/struts/commit/09147ffad2b3046ed21af0f524c5088e2ac551e6
- https://github.com/apache/struts/commit/bd3f2f59c9b09f70aed3ebab6bb69b464ee2d6cb
- https://github.com/apache/struts/commit/dae026a0f0511f83852053bae9d5a622e7f80486
Other
- http://www.securityfocus.com/bid/34686
- https://github.com/apache/struts
- 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
- 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
- https://web.archive.org/web/20200229155553/http://www.securityfocus.com/bid/34686
FAQ
Is CVE-2008-6682 being exploited?
There is no confirmed exploitation: CVE-2008-6682 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 5.61% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2008-6682?
Medium: CVSS 4.3 (v2.0, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2008-6682?
org.apache.struts:struts2-core >= 2.0.0, < 2.0.11.1.
Is there a fix for CVE-2008-6682?
Yes. Fixed in 2.0.11.1, 2.1.1. Upgrade org.apache.struts:struts2-core to one of 2.0.11.1, 2.1.1 (or later in the same release line).
How do I check if I'm affected by CVE-2008-6682?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.