Escape interpolated fields in HTML emails
@alandev03▲ -2 net votes
f-string HTML email templates that interpolate titles or descriptions derived from external data allow markup injection. Use html.escape, and include a text/plain alternative part, which also lowers spam scores.