Skip to content

fix(deps): update ionicons to v8.1.1 for svg sanitization fix - #31790

Merged
ShaneK merged 1 commit into
mainfrom
fix/ionicons-8.1.1-main
Nov 19, 2026
Merged

ShaneK merged 1 commit into
mainfrom
fix/ionicons-8.1.1-main

Conversation

@ShaneK

@ShaneK ShaneK commented Nov 19, 2026

Copy link
Copy Markdown
Member

Issue number: internal


What is the current behavior?

Currently, @ionic/core depends on ionicons@^8.1.0 and the framework packages on ^8.0.13. Every ionicons release up to 8.1.0 has gaps in ion-icon's SVG sanitization that let script run, which are described in GHSA-xg58-2j88-q7f7.

What is the new behavior?

  • @ionic/core, @ionic/angular, @ionic/react and @ionic/vue now require ionicons@^8.1.1, which has the fix, so updating Ionic also updates ionicons.

Does this introduce a breaking change?

  • Yes
  • No

Other information

This is the same update as #31789 on 8.8.x. main is already on 8.1.0, so the sanitization fix is the only change here.

ion-icon stops rendering some SVGs that rendered before, like ones with more than one root <svg> or HTML inside <desc> or <title>. The icons that ship with ionicons all pass, and the advisory covers what to do for custom icons.

@vercel

vercel Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
ionic-framework Ready Ready Preview Nov 19, 2026 9:48pm UTC

Request Review

@ShaneK
ShaneK requested a review from a team as a code owner November 19, 2026 21:45
@ShaneK
ShaneK requested a review from thetaPC November 19, 2026 21:45
@github-actions github-actions Bot added package: core @ionic/core package package: angular @ionic/angular package package: vue @ionic/vue package package: react @ionic/react package labels Nov 19, 2026

@thetaPC thetaPC left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ShaneK
ShaneK added this pull request to the merge queue Nov 19, 2026
Merged via the queue into main with commit 2040b22 Nov 19, 2026
56 checks passed
@ShaneK
ShaneK deleted the fix/ionicons-8.1.1-main branch November 19, 2026 22:14

This branch was successfully deployed

1 active deployment
Preview — 0692c5b0 Deployed Nov 19, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: angular @ionic/angular package package: core @ionic/core package package: react @ionic/react package package: vue @ionic/vue package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants