Closed Shivam7-1 closed 2 months ago
Hey @Shivam7-1, thank you for your enthusiasm and your feedback here! You've opened a number of PRs against a number of our repositories with the same description fixing the same non-issue; while innerHTML
can be an XSS issue when inserting untrusted content, that is not the case here or in the other PRs you've created. I'm going to close this, and the other similar PRs you've created, and ask you to refrain from filing any more similar PRs against our repositories.
Thank you.
Hi @Snugug Thanks For Reviewing This PR and Feedback
Thanks
Please describe what your Pull Request does
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.