Cross-Site Script Inclusion

Public preview

Want everyone on your software team to learn this? Free 14-day trial.

Train my team
unsafe-interpolation.py
Python
@app.route('/js/bundle.js')
def javascript:
  """Don't ever do this!"""
  return render_template('js/bundle.js', INSERT_API_KEY_HERE=session.api_key)