sweetalert2 v10.16.10 and above contains hidden functionality
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | sweetalert2 | >= 10.16.10, < 11.22.4 | 11.22.4 |
References
- Weakness (CWE)
CWE-912- Platform
- npm
- Package
sweetalert2- Disclosed
- 23.11.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-457r-cqc8-9vj9 - CC BY 4.0
Vulnerability history: sweetalert2
All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 5
- First → latest
- 11.2022 07.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Low 5
Disclosures per year
- 2022: 4
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
sweetalert2 v10.16.10 and above contains hidden functionality this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.