// — vulnerable: renders unsanitized user input directly into HTML —
<h2>Results for: {searchQuery}</h2>

// If searchQuery = "<script>alert(document.cookie)</script>"
// the script tag is rendered into the page and executes.
