{"id":"GHSA-pg98-6v7f-2xfv","aliases":["GHSA-pg98-6v7f-2xfv"],"related":[],"kind":"vulnerability","state":"published","title":"sweetalert2 v9.17.4 and above contains hidden functionality","summary":"`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.\n\n### Workaround\nUsers 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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"`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.\n\n### Workaround\nUsers 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.","format":"markdown","source":"ghsa"}],"published":"2022-11-23T15:44:52.000Z","modified":"2025-09-24T20:11:23.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"LOW"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"LOW"}],"cwes":["CWE-912"],"affected":[{"ranges":[{"type":"semver","introduced":"9.17.4","status":"affected","fixed":"11.22.4"}],"ecosystem":"npm","package":"sweetalert2","purl":"pkg:npm/sweetalert2","source":"ghsa"}],"references":[{"url":"https://github.com/sweetalert2/sweetalert2","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-pg98-6v7f-2xfv","url":"https://github.com/advisories/GHSA-pg98-6v7f-2xfv","licence":"CC-BY-4.0","modified":"2025-09-24T20:11:23.000Z"}],"updatedAt":"2026-11-25T22:56:46.128Z"}