ass

84

const escaped = escapeHTMLPolicy.createHTML('<img src=x onerror=alert(1)>');
console.log(escaped instanceof TrustedHTML);  // true
el.innerHTML = escaped;  // '<img src=x onerror=alert(1)>'
Scroll down the Expected Result screen to see that the header is fixed at the top.
  

Comments

Submit
0 Comments