Technology
SVG Cloudflare
Cloudflare SVG is a suite of security and delivery tools designed to sanitize, optimize, and serve vector graphics safely across a global edge network.
Cloudflare treats SVGs as more than static images; it manages them as programmable XML documents to mitigate risks like cross-site scripting (XSS) and billion laughs attacks. Through its Images and Image Optimization products, Cloudflare uses the open-source svg-hush tool to strip malicious scripts and external references while maintaining vector scalability. This process ensures that SVGs are delivered with the same security profile as JPEGs or PNGs (removing scripts and hyperlinks) while benefiting from edge caching and Brotli compression. By offloading these compute-heavy sanitization tasks to over 300 global data centers, developers can serve untrusted user-uploaded SVGs without compromising origin security or page load speeds.
Related technologies
Recent Talks & Demos
Showing 1-1 of 1