Stored, Reflected and DOM XSS

Talk it through out loud with your AI coach.

The problem

  • medium
  • Pro

A security report lists three cross-site scripting findings: one in product reviews, one in a search results page, and one in a script that reads the page address fragment. Explain the difference between stored, reflected and DOM-based cross-site scripting, and which finding is which.

What a strong answer covers

  • Where the injected script comes from in each of the three kinds.
  • Whether the server is involved in each case.
  • Mapping each reported finding to its kind.
  • Which kind is usually most serious, and why.

Common mistake: Assuming server-side escaping covers the kind that happens entirely in browser code.

Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.

Practise it out loud