Skip to content

Sanitize activity log HTML to prevent XSS - #865

Merged
poppastring merged 1 commit into
mainfrom
santize-rawoutputs
Jul 3, 2026
Merged

poppastring merged 1 commit into
mainfrom
santize-rawoutputs

Conversation

@poppastring

Copy link
Copy Markdown
Owner

Sanitize activity log HTML to prevent XSS

Added sanitizer to ActivityList.cshtml for activity log messages using IStaticPageContentSanitizer. Added unit test to ensure malicious HTML is removed while preserving safe formatting.

Added sanitizer to ActivityList.cshtml for activity log messages using IStaticPageContentSanitizer. Added unit test to ensure malicious HTML is removed while preserving safe formatting.
@poppastring
poppastring merged commit 19644a4 into main Jul 3, 2026
3 checks passed
@poppastring
poppastring deleted the santize-rawoutputs branch July 3, 2026 02:54
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.

1 participant