Skip to content

[GHSA-8jh9-wqpf-q52c] sweetalert2 v8.19.1 and above contains hidden functionality #6030

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
{
"schema_version": "1.4.0",
"id": "GHSA-8jh9-wqpf-q52c",
"modified": "2022-11-23T15:49:51Z",
"modified": "2023-01-11T05:03:25Z",
"published": "2022-11-23T15:49:51Z",
"aliases": [],
"summary": "sweetalert2 v8.19.1 and above contains hidden functionality",
"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\nUse a version < 8.19.1 of the package until the maintainer releases a fix.",
"severity": [],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N"
Copy link
Preview

Copilot AI Aug 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The CVSS score shows all impact metrics (Confidentiality, Integrity, Availability) as 'N' (None), which results in a base score of 0.0. This indicates no security impact, which seems inconsistent with classifying this as a security vulnerability. Consider reviewing if this is the appropriate CVSS score for hidden functionality that could affect user trust and application behavior.

Suggested change
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N"
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"

Copilot uses AI. Check for mistakes.

}
],
"affected": [
{
"package": {
Expand All @@ -19,13 +24,13 @@
"events": [
{
"introduced": "8.19.1"
},
{
"fixed": "9.0.0"
}
]
}
],
"database_specific": {
"last_known_affected_version_range": "< 9.0.0"
}
]
}
],
"references": [
Expand Down