-
Notifications
You must be signed in to change notification settings - Fork 685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update index.js sanetize DOM Text Interpreted As HTML #4361
base: develop
Are you sure you want to change the base?
Conversation
Hii @glo82145 Team Could You Please Review This PR |
LogERROR ON TASK: prettierCheck
If your PR is missing information, check against the original template here. At a minimum you must have the section headers from the template and provide some information in each section. |
Hii @engcom-Hotel @engcom-Charlie Could Team Please Review This PR also if possible |
Hello @glo42707, we request you to please look into this PR. |
Hii @glo82145 I had updated Dependencies here also Could You please Review this |
Description
Sanitize HTML content using DOMPurify before returning it in richContent. This ensures safe rendering of potentially untrusted HTML, protecting against XSS attacks. The innerHTML of the first child node is sanitized before being returned, improving security.