Skip to content

Update-2 json-ld.tsx DOM text reinterpreted as HTML #56

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Shivam7-1
Copy link

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.

@Shivam7-1
Copy link
Author

Hi @Eyas Could You Please Review This PR
Thanks

@Shivam7-1
Copy link
Author

Hi @Eyas Could you please Review This PR
Thanks

1 similar comment
@Shivam7-1
Copy link
Author

Hi @Eyas Could you please Review This PR
Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant