Every CVESearch/Get API key

GHSA-pg98-6v7f-2xfv

sweetalert2 v9.17.4 and above contains hidden functionality

No scoreFix available

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.

Workaround

Users who are unable to update to the fixed version (11.22.4) can use package versions 9.0.0-9.17.3, as they do not contain the hidden functionality.

What each source reports

GitHub AdvisoriesNo score

sweetalert2 v9.17.4 and above contains hidden functionality

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.

Workaround

Users who are unable to update to the fixed version (11.22.4) can use package versions 9.0.0-9.17.3, as they do not contain the hidden functionality.

Record
GHSA-pg98-6v7f-2xfv
Weakness
CWE-912
Updated
2026-11-02
OSVNo score

sweetalert2 v9.17.4 and above contains hidden functionality

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.

Workaround

Users who are unable to update to the fixed version (11.22.4) can use package versions 9.0.0-9.17.3, as they do not contain the hidden functionality.

Record
GHSA-pg98-6v7f-2xfv
Weakness
CWE-912
Updated
2026-11-02

Affected packages

Affected packages
PackageAffectedFixed
sweetalert2
npm
9.17.4 up to 10.0.0
10.0.0
sweetalert2
npm
9.17.4 up to 11.22.4
11.22.4

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

GHSA-pg98-6v7f-2xfv is a vulnerability with no CVSS score yet in sweetalert2, published November 23, 2022. No source lists public exploit code. Fixed in sweetalert2 10.0.0.

References

MoveEnter Open