-
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 htmlStringImgUrlConverter.js Sanetize DOM Text Interpreted As HTML #4366
base: develop
Are you sure you want to change the base?
Conversation
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. |
Ping @glo82145 For Reviewing |
@Shivam7-1 Can you please let us know what are these PRs for? Is there any community issue or ticket for which you are creating this fix. |
Hii @glo82145 Thanks For Reviewing |
Okay .. We will create ticket for the same so that we can merge it in current release cc: @glo42707 |
Hi @Shivam7-1 cc: @glo42707 |
Hii @glo82145 Thanks For Response So means it will get Merge in GitHub or directly in project |
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.