Skip to content

Update SweetAlert2 from 11.4.9 to 11.26.24#40

Merged
sei-vsarvepalli merged 1 commit intoCERTCC:mainfrom
jgamblin:security/dependency-updates
Apr 1, 2026
Merged

Update SweetAlert2 from 11.4.9 to 11.26.24#40
sei-vsarvepalli merged 1 commit intoCERTCC:mainfrom
jgamblin:security/dependency-updates

Conversation

@jgamblin
Copy link
Copy Markdown
Contributor

Summary

Hey Vijay! The bundled SweetAlert2 (11.4.9) is affected by CVE-2023-40042, which is an XSS vulnerability in the title and html parameters. The fix landed in 11.7.27. Since cveClient passes API response data to Swal.fire() in several places (d.message, error strings, etc.), this is a relevant upgrade.

This PR simply replaces the local sweetalert2/sweetalert2.all.min.js with the latest release (11.26.24). The API is fully backward compatible — no code changes needed.

Test plan

  • Login flow still shows success/error alerts correctly
  • CVE publish/update shows success/error alerts
  • Logout confirmation dialog works
  • Custom API URL prompt works
  • Reserve CVE success alert works

🤖 Generated with Claude Code

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>
@jgamblin jgamblin force-pushed the security/dependency-updates branch from aff10fe to 2da76f6 Compare March 31, 2026 21:34
@sei-vsarvepalli sei-vsarvepalli merged commit f97b13a into CERTCC:main Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants