Use {{7*'7'}} to tell Jinja2 from Twig after a {{7*7}} template injection hit
A reflected 49 from {{7*7}} only tells you some engine evaluated your input. Send a second probe, {{7*'7'}}, in the same parameter. Jinja2 repeats the string and returns 7777777; Twig converts it to a number and returns 49. If neither works, try ${7*7} (Freemarker, Velocity, Thy…