LowGHSA-mrr8-v49w-3333

sweetalert2 contains potentially undesirable behavior

Published 10 Jul 2023 · Updated 14 Aug 2025

Affected package

Affected
>=11.6.14 <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 from 11.6.14 to before 11.22.4 have potentially undesirable behavior. The package outputs audio and/or video messages that do not pertain to the functionality of the package when run on specific tlds. This functionality is documented on the project's readme.

Is GHSA-mrr8-v49w-3333 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.