Ssti Server Side Template Injection
Server-side template injection playbook with engine fingerprinting probes and RCE chains for Jinja2, FreeMarker, Twig, Velocity, ERB, and Thymeleaf.
- CCM score
- 62 of 100
- skills.sh installs
- 4.1K
- GitHub stars
- 2.7K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers polyglot detection probes that separate SSTI from XSS, then fingerprint the template engine and host language
- Includes RCE chains per engine (Jinja2 MRO and
__globals__escapes, FreeMarkerExecute, Twig filter maps, Velocity reflection, ERB, Thymeleaf SpEL) - Provides bypass patterns for filtered underscores, dots, and keywords, such as hex-encoded
attr()lookups and|safe - Designed for authorized penetration testing and bug bounty work where template expressions or preview features may evaluate attacker input
Install
$ npx -y skills add yaklang/hack-skills --skill ssti-server-side-template-injection -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
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
Details
- Repository
- github.com/yaklang/hack-skills
- Category
- Security
- First seen
- Jun 3, 2026
More from yaklang/hack-skills
All 102- Kernel Exploitation4.1K
- Path Traversal Lfi4.1K
- Request Smuggling4K
- Deserialization Insecure4K
- Xxe Xml External Entity4K
- Format String Exploitation4K
- File Access Vuln4K
- Http Parameter Pollution4K
- Csp Bypass Advanced4K
- Browser Exploitation V84K
- Open Redirect4K
- Symbolic Execution Tools4K
- Crlf Injection4K
- Mobile Ssl Pinning Bypass4K
- Insecure Source Code Management4K
- Subdomain Takeover4K
- Http Host Header Attacks4K
- Web Cache Deception4K
- Dependency Confusion4K
- Expression Language Injection4K
- Csv Formula Injection4K
- Linux Privilege Escalation4K
- Active Directory Acl Abuse4K
- Clickjacking4K
Similar to Ssti Server Side Template Injection
More Securityprototype-pollution-advancedSkillyaklang/hack-skills3.9K installsAdvanced prototype pollution playbook covering server-side RCE gadgets, client-side script gadgets, filter bypasses, and detection.
expression-language-injectionSkillyaklang/hack-skills4K installsExpert Expression Language injection playbook covering SpEL, OGNL, and Java EL exploitation in Spring, Struts2, and Confluence.
ctf-webSkillljagiello/ctf-skills10.7K installsRouting and execution guide for web CTF challenges covering XSS, SQLi, SSTI, SSRF, JWT, and OAuth/SAML flaws.
server-side-renderingSkillaj-geddes/useful-ai-prompts434 installsServer-side rendering guide for template engines, view layers, and HTML generation across Python, Node.js, and Ruby.
security-payloadsPluginEyadkelleh/awesome-claude-skills-security134 starsSpecialized attack payloads for XSS, XXE, template injection, and file upload testing
frontend-securitySkillschalkneethling/webdev-agent-skills473 installsSecurity audit workflow for frontend codebases covering XSS, CSRF, CSP, input handling, uploads, and dependencies.