LowGHSA-457r-cqc8-9vj9

sweetalert2 v10.16.10 and above contains hidden functionality

Published 23 Nov 2022 · Updated 25 Aug 2025

Affected package

Affected
>=10.16.10 <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 10.16.10 and up until 11.0.0 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 10.0.0 - 10.16.9.

Workaround

Use a version 10.0.0 - 10.16.9 of the package until the maintainer releases a fix.

Is GHSA-457r-cqc8-9vj9 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.