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

- Severity: Low (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2022-11-23T15:44:52.000Z
- Modified: 2025-09-24T20:11:23.000Z
- Weaknesses: CWE-912

## Description

`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.

(As written by GitHub Advisory Database.)

## Affected

- sweetalert2 (npm): from 9.17.4 before 11.22.4

## References

- <https://github.com/sweetalert2/sweetalert2> (web)
- <https://github.com/sweetalert2/sweetalert2/releases/tag/v11.4.9> (web)
- <https://www.npmjs.com/package/sweetalert2> (web)

## Sources

- GitHub Advisory Database: [GHSA-pg98-6v7f-2xfv](https://github.com/advisories/GHSA-pg98-6v7f-2xfv), CC-BY-4.0, modified 2025-09-24

---

Page: https://cve.day/GHSA-pg98-6v7f-2xfv · Whole record: https://cve.day/GHSA-pg98-6v7f-2xfv.json · Rebuilt by cve.day 2026-11-25T22:56:46.128Z
