Injection Protection Policy

JavaScript injection

Detects arbitrarily injected JavaScript that is part of a cross-site scripting attack and executes in the browser. Uses the following regular expression for matching: <\s*script\b[^>]*>[^<]+<\s*/\s*script\s*>

Set up the policy

Attach the policy

Help us make these docs great!

Kong Developer docs are open source. If you find these useful and want to make them better, contribute today!