Prevent Cross-Site Scripting
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
Someone posted a comment on your forum containing a script, and every visitor who viewed the page had their session stolen. Explain how cross-site scripting works and the layers of defence against it.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.