#Another Bug Bounty Win: Responsible Disclosure of Potential Template Injection Got me 250$
A workspace name field reflected template syntax without escaping, but the payload was not evaluated. An attacker could inject markup that might lead to XSS or future template injection if backend behaviour changes.
After successfully earning my first bug bounty for an HTML injection, I kept hunting for more security flaws — and found another vulnerability! This time, it was a Request/response manipulation → unsanitized input reflected in multiple UI elements.
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 the application rendered user-supplied workspace names without context-aware escaping.
Impact
The payload was not evaluated, so there was no code execution; the risk is that unescaped template syntax could enable XSS or become server-side template injection if backend logic changes.
What the attacker needed
Ability to create a workspace; ability to intercept requests
The fix
The application should escape all user input before rendering it in templates and apply server-side validation.
How it was found
- Create a new workspace through the UI.
- Intercept the workspace creation request.
- Replace the name field with template syntax.
- Forward the request and observe the unsanitised value in the UI.
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.
When a website shows back something you typed without cleaning it first, that is called reflected input. Here the site showed template code as plain text, which is not dangerous by itself, but it is a warning sign because the same input could be treated as code later.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.