Question · Angular course · Module 12: Security and Performance

XSS Protection

How does Angular protect against XSS attacks?

Answer options

  • It blocks all scripts
  • It automatically sanitizes values in templates
  • It requires manual validation of every value
  • It does not protect - an external library is required

You can check the correct answer by solving this task in the CodeWorlds game.