Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Update inner.html DOM text reinterpreted as HTML #1225

Closed
wants to merge 1 commit into from
Closed

Update inner.html DOM text reinterpreted as HTML #1225

wants to merge 1 commit into from

Conversation

Shivam7-1
Copy link

By using textContent, 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.

@Shivam7-1
Copy link
Author

Hi @12wrigja Could You Please Review This PR
Thanks

@trevorade
Copy link
Collaborator

Please see #1214.

TL;DR: Closure Library is in maintenance mode, and we aren't accepting PRs at this time that aren't considered critical.

@trevorade trevorade closed this May 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants