GHSA-8jh9-wqpf-q52c: sweetalert2 v8.19.1 and above contains hidden functionality
N/A
CVSS Score
Basic Information
CVE ID
-
GHSA ID
EPSS Score
-
CWE
Published
11/23/2022
Updated
1/11/2023
KEV Status
No
Technology
JavaScript
Technical Details
CVSS Vector
-
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| sweetalert2 | npm | >= 8.19.1, < 9.0.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability involves protestware behavior added in v8.19.1, which injects audio/video messages for specific TLDs. While the exact function name/path isn't explicitly provided in the sources, the commit message 'add STOP WAR message for Russians' (from the linked v11.4.9 release) and npm page description strongly imply a function exists to detect domains and trigger these messages. Confidence is medium because the advisory lacks direct code references, but the protestware behavior is explicitly documented as introduced in the affected versions.