
Expression Language Injection
Expert Expression Language injection playbook covering SpEL, OGNL, and Java EL exploitation in Spring, Struts2, and Confluence.
- skills.sh installs
- 3.9K
- GitHub stars
- 2.7K
- last updated
- Aug 21, 2026
What it does
- Covers detection probes and a disambiguation table to tell SpEL, OGNL, and Java EL apart from response behavior
- Includes RCE payloads per engine, plus sandbox bypasses for
_memberAccess,excludedClasses, andSimpleEvaluationContext - Walks through named CVEs, including CVE-2022-22947 (Spring Cloud Gateway), CVE-2017-5638 (Struts2), and CVE-2021-26084 (Confluence)
- Designed for offensive security testing of Java applications, and routes template-engine cases to the SSTI skill
Install
$ npx -y skills add yaklang/hack-skills --skill expression-language-injection -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
SKILL: Expression Language Injection — Expert Attack Playbook
AI LOAD INSTRUCTION: Expert EL injection techniques covering SpEL (Spring), OGNL (Struts2), and Java EL (JSP/JSF). Distinct from SSTI — EL injection targets expression evaluators in Java frameworks, not template engines. Covers sandbox bypass,
_memberAccessmanipulation, actuator abuse, and real-world CVE chains.
0. RELATED ROUTING
- ssti-server-side-template-injection for template engines (Jinja2, FreeMarker, Twig) — different attack surface
- jndi-injection when EL evaluation leads to JNDI lookup
Key distinction: SSTI targets template rendering engines; EL injection targets expression evaluators embedded in Java frameworks. They share detection probes (${7*7}) but diverge in exploitation.
1. DETECTION — POLYGLOT PROBES
${7*7} → 49 = SpEL, OGNL, or Java EL
#{7*7} → 49 = SpEL (alternative syntax) or JSF EL
%{7*7} → 49 = OGNL (Struts2)
${T(java.lang.Math).random()} → random float = SpEL confirmed
%{#context} → object dump = OGNL confirmed
Details
- Repository
- github.com/yaklang/hack-skills
- Categories
- Security, Java & JVM
- First seen
- May 16, 2026
More from yaklang/hack-skills
All 102- Csv Formula Injection3.9K
- Active Directory Acl Abuse3.9K
- Linux Privilege Escalation3.9K
- Clickjacking3.9K
- Active Directory Kerberos Attacks3.9K
- Jndi Injection3.9K
- Http2 Specific Attacks3.9K
- Saml Sso Assertion Attacks3.9K
- Active Directory Certificate Services3.9K
- Arbitrary Write To Rce3.9K
- Hash Attack Techniques3.9K
- Prototype Pollution3.9K
- Dns Rebinding Attacks3.9K
- Network Protocol Attacks3.9K
- Ai Ml Security3.9K
- Memory Forensics Volatility3.9K
- Windows Av Evasion3.9K
- Dangling Markup Injection3.9K
- Defi Attack Patterns3.9K
- Windows Privilege Escalation3.9K
- Email Header Injection3.9K
- Container Escape Techniques3.9K
- Linux Lateral Movement3.9K
- Xslt Injection3.9K
Similar to Expression Language Injection
More Security
jndi-injectionSkillyaklang/hack-skills3.9K installsOffensive playbook for exploiting JNDI injection and Log4Shell, covering RMI/LDAP class loading, JDK bypasses, and WAF evasion.
ssti-server-side-template-injectionSkillyaklang/hack-skills3.9K installsServer-side template injection playbook with engine fingerprinting probes and RCE chains for Jinja2, FreeMarker, Twig, Velocity, ERB, and Thymeleaf.
security-fuzzingPluginEyadkelleh/awesome-claude-skills-security134 starsEssential fuzzing payloads for SQL injection, command injection, and vulnerability testing
java-expertSkillpersonamanagmentlayer/pcl307 installsExpert Java guidance covering Java 21+ features, Spring Boot, and Maven or Gradle builds with enterprise conventions.
ctf-webSkillljagiello/ctf-skills10.5K installsRouting and execution guide for web CTF challenges covering XSS, SQLi, SSTI, SSRF, JWT, and OAuth/SAML flaws.
sql-injection-testingSkillsickn33/agentic-awesome-skills382 installsCatalog summary of a dual-use SQL injection testing skill that gates all probing behind explicit written authorization.