Skip to content

Conversation

@sumitkumar1110
Copy link
Contributor

Problem - OWASP Sanitizer blocking message from displaying in webmail.

Analysis- While checking for the HTML Comment, it seems to have been checked the previous two characters are "-" but only char - 2 is checked twice. So if a CSS Child combinator with - selector is used, it was treated as error.

This is a known issue of OWASP/java-html-sanitizer. This PR has been merged but we haven't took the latest code, due to which we are still facing the issue.

PR link - OWASP/java-html-sanitizer#297

Fix- Referred the above PR and did similar changes to fix the issue.

@shrutig0510
Copy link

LGTM.

@sumitkumar1110 sumitkumar1110 marked this pull request as ready for review June 19, 2024 09:06
@sumitkumar1110 sumitkumar1110 requested a review from umagmrit June 19, 2024 10:46
@sumitkumar1110 sumitkumar1110 merged commit 985e0ce into develop Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants