Skip to content
Back to skills

El Injection

ASecurity

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.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securityjavashellexpressspringbackend

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill el-injection --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of El Injection?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for El Injection
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-el-injection/badge)](https://www.skillsdirectory.com/skills/anandjogawade-el-injection)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.