---
title: "svgo security advisories"
description: "4 known security advisories for svgo, with the versions they affect and the version that fixes each."
url: https://inlinr.com/packages/svgo/security
lang: en
---

[Packages](https://inlinr.com/packages)

# svgo

4.1.0 · 24 Aug 2026 MIT 52.3M / week [Repository](https://github.com/svg/svgo) [Homepage](https://svgo.dev/) [npm](https://www.npmjs.com/package/svgo) [Atom feed](https://inlinr.com/packages/feed/svgo)

Your version 

## Security advisories

From OSV, open ones first. Each release line gets its own fix: an older major is fixed by a patch on that major, not by moving to the newest one.

| Line | Newest | Where it stands                                                           |
| ---- | ------ | ------------------------------------------------------------------------- |
|      | 4.1.0  | Safe from 4.1.0                                                           |
|      | 3.3.5  | Safe from 3.3.5                                                           |
|      | 2.8.4  | Safe from 2.8.4                                                           |
|      | 1.3.2  | 3 open advisories, worst high  · last release Oct 2019, no longer updated |

- High  
[SVGO: removeScripts allows executable links through namespace and control-character bypasses](https://inlinr.com/advisories/GHSA-w27v-7q3p-w38r)GHSA-w27v-7q3p-w38r · 8 Sep 2026  
fixed in 4.1.0, 3.3.5, 2.8.4
- High  
[SVGO removeScripts plugin leaves some executable scripts intact](https://inlinr.com/advisories/GHSA-2p49-hgcm-8545)GHSA-2p49-hgcm-8545 · 21 Jul 2026  
fixed in 4.0.2, 3.3.4, 2.8.3
- High  
[SVGO DoS through entity expansion in DOCTYPE (Billion Laughs)](https://inlinr.com/advisories/GHSA-xpqw-6gx7-v673)GHSA-xpqw-6gx7-v673 · 4 Mar 2026  
fixed in 4.0.1, 3.3.3, 2.8.1
- Moderate  
[SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elements](https://inlinr.com/advisories/GHSA-4vpr-x523-8j87)GHSA-4vpr-x523-8j87 · 8 Sep 2026  
fixed in 4.1.0, 3.3.5, 2.8.4

### Quality and security signals

What [npm](https://www.npmjs.com/package/svgo) and [deps.dev](https://deps.dev/npm/svgo) say about the latest release. Signals, not a verdict.

Reading npm and deps.dev…

Reading releases, release notes and advisories…

Registry facts last checked 21 Nov 2026\. Releases and advisories last read 21 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
