Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. sweetalert2
  4. ›
  5. GMS-2022-7151

GMS-2022-7151: sweetalert2 v8.19.1 and above contains hidden functionality

November 23, 2022

sweetalert2 versions 8.19.1 and up until 9.0.0 is 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.

Workaround

Use a version < 8.19.1 of the package until the maintainer releases a fix.

References

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

Code Behaviors & Features

Detect and mitigate GMS-2022-7151 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 9.0.0

Fixed versions

  • 9.0.0

Solution

Upgrade to version 9.0.0 or above.

Source file

npm/sweetalert2/GMS-2022-7151.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:15:48 +0000.