Update SweetAlert2 from 11.4.9 to 11.26.24#40
Merged
sei-vsarvepalli merged 1 commit intoCERTCC:mainfrom Apr 1, 2026
Merged
Conversation
SweetAlert2 11.4.9 is affected by CVE-2023-40042 (XSS via title/html parameters), which was fixed in 11.7.27. This update jumps to the latest release for full coverage. The codebase uses Swal.fire() with API response data in text/title params in multiple places, making this a relevant upgrade. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
aff10fe to
2da76f6
Compare
sei-vsarvepalli
approved these changes
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hey Vijay! The bundled SweetAlert2 (11.4.9) is affected by CVE-2023-40042, which is an XSS vulnerability in the
titleandhtmlparameters. The fix landed in 11.7.27. Since cveClient passes API response data toSwal.fire()in several places (d.message, error strings, etc.), this is a relevant upgrade.This PR simply replaces the local
sweetalert2/sweetalert2.all.min.jswith the latest release (11.26.24). The API is fully backward compatible — no code changes needed.Test plan
🤖 Generated with Claude Code