Template Literal HTML Construction
Using template literals to build HTML responses with user input without proper escaping creates XSS vulnerabilities.
Preview example – JAVASCRIPT
// Vulnerable
const html = `<h1>Hello \${name}!</h1><p>\${message}</p>`;
res.send(html);