GHSA-47qp-8v9g-39hp

    Dashboard / Vulnerabilities / GHSA-47qp-8v9g-39hp

    GHSA-47qp-8v9g-39hp

    Published: 13 May 2022Last Modified: 22 Oct 2025
    Aliases:

    Summary: Code injection in Apache Struts

    Details: The Struts 2 DefaultActionMapper supports a method for short-circuit navigation state changes by prefixing parameters with "action:" or "redirect:", followed by a desired navigational target expression. This mechanism was intended to help with attaching navigational information to buttons within forms. In Struts 2 before 2.3.15.1 the information following "action:", "redirect:" or "redirectAction:" is not properly sanitized. Since said information will be evaluated as OGNL expression against the value stack, this introduces the possibility to inject server side code.

    Affected packages

    Package

    Name: org.apache.struts:struts2-core

    Purl: pkg:maven/org.apache.struts/struts2-core

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.3.15.1

    Affected versions

    2.0.11
    2.0.11.1
    2.0.11.2
    2.0.12
    2.0.14
    2.0.5
    2.0.6
    2.0.8
    2.0.9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-47qp-8v9g-39hp | CVE-DB