External Script Injection

  • CWE 79
  • WASC 38
  • PCI 3.2-6.5.7
  • OWASP 2025-A05

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