Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. sweetalert2
  4. ›
  5. GHSA-8jh9-wqpf-q52c

GHSA-8jh9-wqpf-q52c: sweetalert2 v8.19.1 and above contains hidden functionality

November 23, 2022 (updated September 24, 2025)

sweetalert2 versions 8.19.1 and up until 9.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 below 8.19.1.

References

  • github.com/advisories/GHSA-8jh9-wqpf-q52c
  • github.com/sweetalert2/sweetalert2
  • github.com/sweetalert2/sweetalert2/releases/tag/v11.22.4
  • github.com/sweetalert2/sweetalert2/releases/tag/v11.4.9
  • www.npmjs.com/package/sweetalert2

Code Behaviors & Features

Detect and mitigate GHSA-8jh9-wqpf-q52c 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 8.19.1 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-8jh9-wqpf-q52c.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Fri, 03 Oct 2025 12:18:43 +0000.