Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.struts/struts2-core
  4. ›
  5. CVE-2008-6682

CVE-2008-6682: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

May 17, 2022 (updated February 9, 2024)

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.

References

  • github.com/advisories/GHSA-jgcr-9c2q-rvp8
  • github.com/apache/struts/commit/09147ffad2b3046ed21af0f524c5088e2ac551e6
  • github.com/apache/struts/commit/bd3f2f59c9b09f70aed3ebab6bb69b464ee2d6cb
  • github.com/apache/struts/commit/dae026a0f0511f83852053bae9d5a622e7f80486
  • issues.apache.org/struts/browse/WW-2414
  • issues.apache.org/struts/browse/WW-2427
  • nvd.nist.gov/vuln/detail/CVE-2008-6682
  • 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.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.archive.org/web/20200229155553/http://www.securityfocus.com/bid/34686

Code Behaviors & Features

Detect and mitigate CVE-2008-6682 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.0 before 2.0.11.1, all versions starting from 2.1.0 before 2.1.1

Fixed versions

  • 2.0.11.1
  • 2.1.1

Solution

Upgrade to versions 2.0.11.1, 2.1.1 or above.

Impact 4.3 MEDIUM

AV:N/AC:M/Au:N/C:N/I:P/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.apache.struts/struts2-core/CVE-2008-6682.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:16 +0000.