Advisory

GHSA-457r-cqc8-9vj9

Also known as: None

Summary

sweetalert2 v10.16.10 and above contains hidden functionality

Details

sweetalert2 versions 10.16.10 and up until 11.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 10.0.0 - 10.16.9.

Workaround
Use a version 10.0.0 - 10.16.9 of the package until the maintainer releases a fix.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2022-11-23 15:39 UTC
Modified
2025-08-25 17:22 UTC

Affected packages and fixes

sweetalert2

npm · All systems

Affected

  • introduced 10.16.10, fixed 11.22.4 (semver)

Fixed versions

11.22.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences