LowGHSA-qq6h-5g6j-q3cm

sweetalert2 v11.4.9 and above contains hidden functionality

Published 23 Nov 2022 · Updated 25 Aug 2025

Affected package

Affected
>=11.4.9 <11.22.4
Fixed in
11.22.4
Update to the fixed version for your release line, for example:npm install sweetalert2@11.22.4

Details

sweetalert2 versions 11.4.9 and above are vulnerable to hidden functionality that was introduced by the maintainer. The package outputs audio and/or video messages that do not pertain to the functionality of the package and is not included in versions 11.0.0 - 11.4.8.

Workaround

Use a version 11.0.0 - 11.4.8 of the package until the maintainer releases a fix.

Is GHSA-qq6h-5g6j-q3cm in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected sweetalert2, and gives you the command that fixes it.

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.