Packages

svgo

4.1.0 · 24 Aug 2026MIT52.3M / weekRepositoryHomepagenpmAtom feed

Upgrading svgo From 2.8.1 to 2.8.4

3 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 2.8.1Latest4.1.0
  1. 2.8.1yours
  2. 2.8.2
  3. 2.8.3security
  4. 2.8.4target

Start here

Before you upgrade

Tick each one off as you go
  • Breaking2.8.4

Security

Release by release

  1. 2.8.4

    Security fix24 Aug 20261 fix
    • Security

      This addresses GHSA-4vpr-x523-8j87 and GHSA-w27v-7q3p-w38r for the v2 release line.

    • Security

      This security fix has been backported, but there is no commitment to backport more complex changes in the future.

    • Breaking

      Remove known SVG event attributes

    • Fixed

      Handle namespace-prefixed SVG anchors and URL schemes containing ASCII tabs or newlines

  2. 2.8.3

    Security fix11 Jul 2026
  3. 2.8.2

    4 Mar 20261 fix
    • Fixed

      No longer throws error when encountering comments in DTD.

2 other lines we could not sort, mostly version bumps
  • Reject executable data: URLs and legacy vbscript: URLs

    2.8.4
  • Sanitize executable HTML inside <foreignObject> elements

    2.8.4

1 internal line (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.