GHSA-pg98-6v7f-2xfv
LOWsweetalert2 v9.17.4 and above contains hidden functionality
sweetalert2 versions 9.17.4 and up until 10.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 9.0.0 - 9.17.3.
Workaround
Users who are unable to update to the fixed version (11.22.4) can use package versions 9.0.0-9.17.3, as they do not contain the hidden functionality.
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | sweetalert2 | >= 9.17.4, < 11.22.4 | 11.22.4 |
References
- https://github.com/sweetalert2/sweetalert2 · WEB
- https://github.com/sweetalert2/sweetalert2/releases/tag/v11.4.9 · WEB
- https://www.npmjs.com/package/sweetalert2 · WEB
History
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Nov 2022)