Skip to content

fix: Sanitize email template body with HTMLPurifier#1105

Merged
daveearley merged 1 commit intodevelopfrom
fix/sanitize-email-template-body
Mar 17, 2026
Merged

fix: Sanitize email template body with HTMLPurifier#1105
daveearley merged 1 commit intodevelopfrom
fix/sanitize-email-template-body

Conversation

@daveearley
Copy link
Contributor

Apply HTMLPurifier to email template body content in CreateEmailTemplateHandler and UpdateEmailTemplateHandler to prevent stored XSS.

Closes #1073

Apply HTMLPurifier to email template body content in
CreateEmailTemplateHandler and UpdateEmailTemplateHandler
to prevent stored XSS.

Closes #1073
@daveearley daveearley merged commit 54e0068 into develop Mar 17, 2026
4 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 17, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Security] Stored XSS via Multiple Unescaped Email Template Fields

1 participant