Client-Side Template Injection (CSTI) — injecting into client-side template frameworks (AngularJS sandbox escapes, Vue client templates, Mavo, etc.) to achieve XSS where server-side encoding is present but the framework re-evaluates expressions. Tier 1. Payloads: payloads/ssti.md (CSTI). Use for SPAs that bind user input into template expressions.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Csti?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-csti)
---
name: csti
description: "Client-Side Template Injection (CSTI) — injecting into client-side template frameworks (AngularJS sandbox escapes, Vue client templates, Mavo, etc.) to achieve XSS where server-side encoding is present but the framework re-evaluates expressions. Tier 1. Payloads: payloads/ssti.md (CSTI). Use for SPAs that bind user input into template expressions."
---
# Client-Side Template Injection (CSTI)
Client template frameworks evaluate `{{ }}`-style expressions in the browser; user input reaching them yields XSS even when HTML is encoded.
## Trigger phrases
`csti, client side template injection, angularjs sandbox escape, vue template injection, mavo`
## Method
1. **Detect:** inject `{{7*7}}` into inputs reflected within a framework-controlled region → `49` means client-side evaluation.
2. **Exploit (${CLAUDE_PLUGIN_ROOT}/payloads/ssti.md CSTI):**
- **AngularJS:** sandbox-escape payloads per version, e.g. `{{constructor.constructor('alert(1)')()}}`, `{{.constructor('alert(1)')()}}` (sandbox removed in 1.6+ → simpler).
- **Vue:** client template compilation on user data → XSS gadgets.
3. Confirm JS execution in the browser.
## Escalation
Full XSS impact (→ hand to `web-xss` for escalation): token/session theft, account takeover.
## Backend & tooling
Preferred Kali path or headless browser for client-side execution/evidence; if a Burp MCP is present, proxy traffic for visibility and send PoCs to Repeater (see `zazy-orchestrator`).
## Verification (background, before reporting)
Reproduce in a real browser / second context and confirm impact before marking CONFIRMED; use OAST for blind cases. Report true positives only.
## Evidence
The `49` evaluation proof, the escape payload, and execution in the browser.