Re:A practical security guide for web developers
by vollmond on Friday July 22, 2016 @09:58PM
(#12148004)
Right, but you seem to be talking about input -- the question was about output.
I did get my answer, though -- output matters because it might be a different medium than input. So even if you sanitize HTML input, malicious VBA code could make it through that eventually ends up in an Excel report and gets executed (for example).
If you want to see specific examples, search for how to avoid XSS attacks. Any decent guide will focus on escaping, not sanitisation.