-
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 configAggregator.js Sanetize DOM Text Interpreted As HTML #4360
base: develop
Are you sure you want to change the base?
Conversation
Hii @glo82145 Could Team Please Review This PR |
LogERROR ON TASK: unitTests
ERROR ON TASK: scaffoldingSucceeds
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 @glo82145 Could Team Please Review This PR |
Hii @engcom-Hotel @engcom-Charlie Could Team Please Review This PR also if possible |
Hey @glo42707 we request you to please look into this. |
Hii @glo82145 Could you please Review this PR |
Hii @glo82145 |
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.