# GHSA-8jh9-wqpf-q52c: sweetalert2 v8.19.1 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:49:51.000Z
- Modified: 2025-09-24T20:11:29.000Z
- Weaknesses: CWE-912

## Description

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

### Workaround
Users who are unable to update to the fixed version (11.22.4) can use package versions 8.19.0 and below, as they do not contain the hidden functionality.

(As written by GitHub Advisory Database.)

## Affected

- sweetalert2 (npm): from 8.19.1 before 11.22.4

## References

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

## Sources

- GitHub Advisory Database: [GHSA-8jh9-wqpf-q52c](https://github.com/advisories/GHSA-8jh9-wqpf-q52c), CC-BY-4.0, modified 2025-09-24

---

Page: https://cve.day/GHSA-8jh9-wqpf-q52c · Whole record: https://cve.day/GHSA-8jh9-wqpf-q52c.json · Rebuilt by cve.day 2026-11-25T22:56:44.752Z
