Pattern: Insecure write of HTML
Issue: -
Do not write values to innerHTML
, outerHTML
, or set HTML using the
JQuery html() function. Writing values to innerHTML
can expose your
website to XSS injection attacks. All strings must be escaped before
being rendered to the page.