Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.struts.xwork/xwork-core
  4. ›
  5. CVE-2013-1966

CVE-2013-1966: Improper Control of Generation of Code ('Code Injection')

May 14, 2022 (updated December 27, 2023)

Apache Struts 2 before 2.3.14.2 allows remote attackers to execute arbitrary OGNL code via a crafted request that is not properly handled when using the includeParams attribute in the (1) URL or (2) A tag.

References

  • struts.apache.org/development/2.x/docs/s2-013.html
  • bugzilla.redhat.com/show_bug.cgi?id=967656
  • cwiki.apache.org/confluence/display/WW/S2-013
  • github.com/advisories/GHSA-737w-mh58-cxjp
  • github.com/apache/struts/commit/7e6f641ebb142663cbd1653dc49bed725edf7f56
  • nvd.nist.gov/vuln/detail/CVE-2013-1966

Code Behaviors & Features

Detect and mitigate CVE-2013-1966 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 2.0.0 before 2.3.14.2

Fixed versions

  • 2.3.14.2

Solution

Upgrade to version 2.3.14.2 or above.

Impact 9.3 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
  • CWE-94: Improper Control of Generation of Code ('Code Injection')

Source file

maven/org.apache.struts.xwork/xwork-core/CVE-2013-1966.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:25 +0000.