# Tooling to render SVG file inactive

**URL:** <https://discourse.ossbase.org/t/tooling-to-render-svg-file-inactive/1233>\
**Category:** hackathon.lu\
**Created:** [October 23, 2026, 7:41pm UTC](https://discourse.ossbase.org/t/tooling-to-render-svg-file-inactive/1233 "2026-10-23T19:41:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![adulau](https://discourse.ossbase.org/user_avatar/discourse.ossbase.org/adulau/32/6_2.png) [@adulau](https://discourse.ossbase.org/u/adulau)\
**Post date:** [October 23, 2026, 7:41pm UTC](https://discourse.ossbase.org/t/tooling-to-render-svg-file-inactive/1233/1 "2026-10-23T19:41:16Z")

</div>

Following various feedback from Jeroen Pinoy, SVG files can have a malicious payload. Experimenting a small library to inactive dangerous payloads in SVG.

---

<div class="post-metadata">

**Author:** ![adulau](https://discourse.ossbase.org/user_avatar/discourse.ossbase.org/adulau/32/6_2.png) [@adulau](https://discourse.ossbase.org/u/adulau)\
**Post date:** [October 23, 2026, 8:09pm UTC](https://discourse.ossbase.org/t/tooling-to-render-svg-file-inactive/1233/2 "2026-10-23T20:09:54Z")

</div>

First version

> **[GitHub - adulau/svg-sanitize: svg-sanitize - restrictive, visual-only SVG...](https://github.com/adulau/svg-sanitize)**
>
> svg-sanitize - restrictive, visual-only SVG sanitizer

---

<div class="post-metadata">

**Author:** ![adulau](https://discourse.ossbase.org/user_avatar/discourse.ossbase.org/adulau/32/6_2.png) [@adulau](https://discourse.ossbase.org/u/adulau)\
**Post date:** [October 25, 2026, 9:38am UTC](https://discourse.ossbase.org/t/tooling-to-render-svg-file-inactive/1233/3 "2026-10-25T09:38:21Z")

</div>

> **[Release svg-sanitize - v0.2.0 released with a new visual preservation mode ·...](https://github.com/adulau/svg-sanitize/releases/tag/v0.2.0)**
>
> svg-sanitize rebuilds untrusted SVG as static vector graphics only. It does not simply search and replace script tags. It parses XML with defusedxml, checks resource limits, and constructs an entir...
