Low

sweetalert2 v10.16.10 and above contains hidden functionality

  • Disclosed: 23.11.2022
  • Updated: 11.10.2026 10:22

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.

PlatformPackageVulnerable versionsFixed in
npm package sweetalert2 >= 10.16.10, < 11.22.4 11.22.4

References

CVSS score -
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

  1. 2022: 4
  2. 2023: 1
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Low ghsa-mrr8-v49w-3333 >= 11.6.14, < 11.22.4 11.22.4
  2. Low ghsa-8jh9-wqpf-q52c >= 8.19.1, < 11.22.4 11.22.4
  3. Low ghsa-pg98-6v7f-2xfv >= 9.17.4, < 11.22.4 11.22.4
  4. sweetalert2 v10.16.10 and above contains hidden functionality this entry
    Low ghsa-457r-cqc8-9vj9 >= 10.16.10, < 11.22.4 11.22.4
  5. Low ghsa-qq6h-5g6j-q3cm >= 11.4.9, < 11.22.4 11.22.4

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.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.