Remote code execution in Apache StrutsGHSA-jc35-q369-45pv
CRITICALGHSA-jc35-q369-45pv is a critical-severity (CVSS 9.8) Expression Language Injection vulnerability in org.apache.struts:struts2-core. It is in CISA's Known Exploited Vulnerabilities catalog (added 2021-11-03) — treat it as actively exploited and patch now. A fix is available for org.apache.struts:struts2-core — see the affected versions and patch details below.
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2021-11-03. Federal agencies were required to remediate by 2022-05-03.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for GHSA-jc35-q369-45pv.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
GHSA-jc35-q369-45pv by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.apache.struts:struts2-coreReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Forced OGNL evaluation, when evaluated on raw user input in tag attributes, may lead to remote code execution. Affected software : Apache Struts 2.0.0 - Struts 2.5.25.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.apache.struts:struts2-core | ≥ 2.0.0&&< 2.5.26 | 2.5.26org.apache.struts:struts2-core:2.5.26 |
Affected Products
strutsapachebusiness intelligenceoraclecommunications diameter intelligence huboraclecommunications policy managementoraclecommunications pricing design centeroraclefinancial services data integration huboracleResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Forced OGNL evaluation, when evaluated on raw user input in tag attribut…
Forced OGNL evaluation, when evaluated on raw user input in tag attribut…
Forced OGNL evaluation, when evaluated on raw user input in tag attribut…
Forced OGNL evaluation, when evaluated on raw user input in tag attribut…
Forced OGNL evaluation, when evaluated on raw user input in tag attribut…
Forced OGNL evaluation, when evaluated on raw user input in tag attribut…
Forced OGNL evaluation, when evaluated on raw user input in tag attribut…
Forced OGNL evaluation, when evaluated on raw user input in tag attribut…
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.apache.struts:struts2-core, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.apache.struts:struts2-core to 2.5.26 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-jc35-q369-45pv is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
How to detect GHSA-jc35-q369-45pv
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id ghsa-jc35-q369-45pv -u https://target- Template
- Apache Struts 2.0.0-2.5.25 - Remote Code Execution
- Severity
- critical
- Impact
- Successful exploitation of this vulnerability could allow an attacker to execute arbitrary code on the affected server.
- Remediation
- Apply the latest security patches or upgrade to a non-vulnerable version of Apache Struts.
Template by ProjectDiscovery nuclei-templates (pikpikcu), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is GHSA-jc35-q369-45pv in your dependencies?
Find it across Maven, including transitive dependencies.