{"id":"GHSA-8jh9-wqpf-q52c","aliases":["GHSA-8jh9-wqpf-q52c"],"related":[],"kind":"vulnerability","state":"published","title":"sweetalert2 v8.19.1 and above contains hidden functionality","summary":"`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.\n\n### Workaround\nUsers 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"`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.\n\n### Workaround\nUsers 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.","format":"markdown","source":"ghsa"}],"published":"2022-11-23T15:49:51.000Z","modified":"2025-09-24T20:11:29.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"LOW"}],"cwes":["CWE-912"],"affected":[{"ranges":[{"type":"semver","introduced":"8.19.1","status":"affected","fixed":"11.22.4"}],"ecosystem":"npm","package":"sweetalert2","purl":"pkg:npm/sweetalert2","source":"ghsa"}],"references":[{"url":"https://github.com/sweetalert2/sweetalert2","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/sweetalert2/sweetalert2/releases/tag/v11.22.4","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/sweetalert2/sweetalert2/releases/tag/v11.4.9","tags":["web"],"sources":["ghsa"]},{"url":"https://www.npmjs.com/package/sweetalert2","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8jh9-wqpf-q52c","url":"https://github.com/advisories/GHSA-8jh9-wqpf-q52c","licence":"CC-BY-4.0","modified":"2025-09-24T20:11:29.000Z"}],"updatedAt":"2026-11-25T22:56:44.752Z"}