product_video_ads icon indicating copy to clipboard operation
product_video_ads copied to clipboard

draggable_element.component.html DOM text reinterpreted as HTML

Open Shivam7-1 opened this issue 10 months ago • 5 comments

By using innerText, it will avoid the risk of HTML injection, as these properties automatically escape any HTML special characters in the provided text. This helps prevent cross-site scripting (XSS) vulnerabilities by treating the input as plain text rather than interpreted HTML. Always be cautious when dealing with user input or dynamic content to prevent security risks

Shivam7-1 avatar Apr 14 '24 03:04 Shivam7-1