Assignments to innerHTML/outerHTML properties or calls to insertAdjacentHTML method manipulate DOM directly without any sanitization and should be avoided. Use document.createElement() or similar methods instead.
Assignments to innerHTML/outerHTML properties or calls to insertAdjacentHTML method manipulate DOM directly without any sanitization and should be avoided. Use document.createElement() or similar methods instead.