Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. sweetalert2
  4. ›
  5. GHSA-pg98-6v7f-2xfv

GHSA-pg98-6v7f-2xfv: sweetalert2 v9.17.4 and above contains hidden functionality

November 23, 2022 (updated September 24, 2025)

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.

References

  • github.com/advisories/GHSA-pg98-6v7f-2xfv
  • github.com/sweetalert2/sweetalert2
  • github.com/sweetalert2/sweetalert2/releases/tag/v11.4.9
  • www.npmjs.com/package/sweetalert2

Code Behaviors & Features

Detect and mitigate GHSA-pg98-6v7f-2xfv with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 9.17.4 before 11.22.4

Fixed versions

  • 11.22.4

Solution

Upgrade to version 11.22.4 or above.

Weakness

  • CWE-912: Hidden Functionality

Source file

npm/sweetalert2/GHSA-pg98-6v7f-2xfv.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 04 Oct 2025 00:19:56 +0000.