Ten Years of SSTI Disclosures. $4,300 in Public Bounties.
A researcher surveyed all twelve publicly disclosed server-side template injection reports on HackerOne over ten years. The known bounties total $4,300, with the largest payouts going to a chained path-traversal-to-RCE and a CodeQL detection query rather than standalone template injection.
A question keeps coming up on r/bugbounty: is SSTI, along with web cache vulnerabilities, still worth focusing on? A fair question — template injection tutorials are everywhere, and almost nobody posts wins.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely user-controlled input is rendered by a template engine in a later background process (such as an email or PDF pipeline) without proper sanitisation, allowing template syntax to be evaluated.
Impact
Successful exploitation could lead to remote code execution or file disclosure, but the article notes that standalone SSTI often pays nothing while chained exploits are more valuable.
What the attacker needed
Access to a feature that renders user input; template engine processes input later; none for some cases
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Server-side template injection (SSTI) happens when a website puts user input into a template engine, which then treats parts of that input as code to run. An attacker can sometimes use this to read files or run commands on the server. This article looks at every publicly disclosed SSTI report on HackerOne and finds only twelve in ten years, with most paying little or nothing.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.