Updated SVG handling, closing several related vulnerabilities reported in #2831 and...