Vulnerability DatabaseGHSA-pg98-6v7f-2xfv

GHSA-pg98-6v7f-2xfv
JavaScript vulnerability analysis and mitigation

Overview

The vulnerability (GHSA-pg98-6v7f-2xfv) affects sweetalert2, a JavaScript popup box replacement library, in versions 9.17.4 to 10.0.0. The issue involves hidden functionality that was introduced by the maintainer, where the package outputs unauthorized audio and/or video messages that are not part of the package's core functionality. This vulnerability was published on November 23, 2022, and last updated on January 11, 2023 (GitHub Advisory).

Technical details

The vulnerability is classified as CWE-912 and has been assigned a Low severity rating. The issue specifically manifests as unexpected audio and/or video outputs that were not present in versions 9.0.0 through 9.17.3. This hidden functionality was intentionally introduced by the maintainer and affects the package's normal operation (GitHub Advisory).

Impact

The impact includes unexpected behavior in applications using the affected versions, specifically unauthorized audio and/or video messages being played. For certain domain zones (.ru, .su, .by, and .рф), the package is known to block website navigation and play the national anthem of Ukraine, behavior classified as protestware (NPM Package).

Mitigation and workarounds

Users are advised to use versions between 9.0.0 and 9.17.3 of the package until a fix is released by the maintainer. No other workarounds are currently available (GitHub Advisory).

Community reactions

The release containing this functionality (v11.4.9) received mixed reactions on GitHub, with various emoji reactions including thumbs up, laugh, hooray, and eyes from the community (SweetAlert2 Release).

Additional resources


SourceThis report was generated using AI

Related JavaScript vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

GHSA-j44m-5v8f-gc9cHIGH7.7
  • JavaScriptJavaScript
  • flowise
NoYesOct 10, 2025
CVE-2025-11183MEDIUM6.9
  • JavaScriptJavaScript
  • qwc2
NoYesOct 13, 2025
CVE-2025-62374MEDIUM6.4
  • JavaScriptJavaScript
  • parse
NoYesOct 14, 2025
GHSA-fhwm-pc6r-4h2fMEDIUM6.1
  • JavaScriptJavaScript
  • commandkit
NoYesOct 13, 2025
CVE-2025-62366LOW2.9
  • JavaScriptJavaScript
  • mailgen
NoYesOct 14, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management