sweetalert2 contains potentially undesirable behavior
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| npm package | sweetalert2 | >= 11.6.14, < 11.22.4 | 11.22.4 |
References
- https://github.com/sweetalert2/sweetalert2/pull/2847
- https://github.com/sweetalert2/sweetalert2/commit/7de85db5c76ba3ef5f0cdbc335bbc4a7c559e012
- https://github.com/sweetalert2/sweetalert2
- https://github.com/sweetalert2/sweetalert2/releases/tag/v11.4.9
- https://github.com/sweetalert2/sweetalert2/tree/6d02e1095e5d9db1dfa7f0708df6fa13a1b32be3#important-notice-about-usage-of-this-software-for-ru-su-and-%D1%80%D1%84-domain-zones
- https://www.npmjs.com/package/sweetalert2
- Weakness (CWE)
CWE-440- Platform
- npm
- Package
sweetalert2- Disclosed
- 10.07.2023
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-mrr8-v49w-3333 - 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 contains potentially undesirable behavior 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.