External Script Injection

  • CWE 601
  • WASC 38
  • PCI 3.2-6.5.1
  • OWASP 2017-A1

It is possible for an attacker to control src attribute of a script tag and load scripts from external resources.

Remediation

With a properly defined CSP policy, the browser would not load and execute the external script.

References