
Ssti Server Side Template Injection
This is a comprehensive SSTI exploitation playbook that goes well beyond basic detection. It covers polyglot probes to fingerprint engines (Jinja2, Twig, FreeMarker, Velocity, ERB, Thymeleaf), then provides actual RCE chains for each including Jinja2 MRO subclass traversal and sandbox bypasses when underscores or dots are filtered. The routing is smart: it separates expression language injection (SpEL/OGNL) into its own skill and pushes specific CVE scenarios (Jira, Confluence, Spring Cloud Gateway) into a companion file. You get working payloads with correct syntax, not just theory. Load this when you're testing template rendering or preview features and need more than {{7*7}} to prove impact.
- skills.sh installs
- 3.8K
- GitHub stars
- 2.6K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add yaklang/hack-skills --skill ssti-server-side-template-injection --agent claude-codeInstalls into .claude/skills of the current project.
Files
SKILL: Server-Side Template Injection (SSTI) — Expert Attack Playbook
AI LOAD INSTRUCTION: Expert SSTI techniques. Covers polyglot detection probes, engine fingerprinting, Jinja2/FreeMarker/Twig/ERB RCE chains, client-side Angular SSTI, and bypass techniques. Base models often miss sandbox escape MRO chains and non-Jinja2 engines. For PHP CMS template eval, Jira SSTI, Confluence OGNL, and Spring Cloud Gateway SpEL, load the companion SCENARIOS.md.
0. RELATED ROUTING
Before using full engine-specific exploitation, you can first load:
- First use the polyglot probe sequence at the top of this file for low-noise fingerprinting
- expression-language-injection when
${7*7}or%{7*7}resolves in Java (SpEL/OGNL) — different attack surface from template engines
Extended Scenarios
Sponsors
Details
- Repository
- github.com/yaklang/hack-skills
- Category
- Backend & APIs
- First seen
- Jun 3, 2026
More from yaklang/hack-skills
All 102- Graphql And Hidden Parameters3.8K
- Kernel Exploitation3.8K
- Race Condition3.8K
- Xxe Xml External Entity3.8K
- Deserialization Insecure3.8K
- Request Smuggling3.8K
- File Access Vuln3.8K
- Format String Exploitation3.8K
- Http Parameter Pollution3.8K
- Csp Bypass Advanced3.8K
- Browser Exploitation V83.8K
- Open Redirect3.8K
- Symbolic Execution Tools3.8K
- Crlf Injection3.8K
- Insecure Source Code Management3.8K
- Mobile Ssl Pinning Bypass3.8K
- Http Host Header Attacks3.8K
- Web Cache Deception3.8K
- Subdomain Takeover3.8K
- Dependency Confusion3.8K
- Expression Language Injection3.8K
- Csv Formula Injection3.8K
- Active Directory Acl Abuse3.8K
- Linux Privilege Escalation3.8K