Skip to content

Conversation

@defnull
Copy link
Contributor

@defnull defnull commented Dec 5, 2025

While we usually can trust chat messages to originate from 'save' Markdown, it's still best practice to never inject user provided HTML directly into the DOM.

@defnull
Copy link
Contributor Author

defnull commented Dec 5, 2025

Notices that replies are currently still displayed as HTML code, so I (tried to) fix that, too.

@defnull defnull force-pushed the develop branch 4 times, most recently from 563b567 to ad10bf7 Compare December 5, 2025 09:06
While we usually can trust chat messages to originate from 'save' Markdown, it's still best practice to never inject user provided HTML directly into the DOM.

This patch also fixes visible HTML code in relies.
@defnull defnull changed the title sec: Sanitize raw HTML content Sanitize raw HTML content and fix replies Dec 5, 2025
Copy link
Collaborator

@gustavotrott gustavotrott left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm! thanks @defnull

@antobinary antobinary merged commit 09e89bf into bigbluebutton:develop Dec 9, 2025
1 check passed
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.

3 participants