GHSA-8JH9-WQPF-Q52C
Vulnerability from github – Published: 2022-11-23 15:49 – Updated: 2025-09-24 20:11sweetalert2 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.
{
"affected": [
{
"database_specific": {
"last_known_affected_version_range": "\u003c 9.0.0"
},
"package": {
"ecosystem": "npm",
"name": "sweetalert2"
},
"ranges": [
{
"events": [
{
"introduced": "8.19.1"
},
{
"fixed": "11.22.4"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [],
"database_specific": {
"cwe_ids": [
"CWE-912"
],
"github_reviewed": true,
"github_reviewed_at": "2022-11-23T15:49:51Z",
"nvd_published_at": null,
"severity": "LOW"
},
"details": "`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.",
"id": "GHSA-8jh9-wqpf-q52c",
"modified": "2025-09-24T20:11:29Z",
"published": "2022-11-23T15:49:51Z",
"references": [
{
"type": "PACKAGE",
"url": "https://github.com/sweetalert2/sweetalert2"
},
{
"type": "WEB",
"url": "https://github.com/sweetalert2/sweetalert2/releases/tag/v11.22.4"
},
{
"type": "WEB",
"url": "https://github.com/sweetalert2/sweetalert2/releases/tag/v11.4.9"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/package/sweetalert2"
}
],
"schema_version": "1.4.0",
"severity": [],
"summary": "sweetalert2 v8.19.1 and above contains hidden functionality"
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.