Open Closed

Sweetalert malware code #4142


User avatar
0
romkij created

Hello!

We stucking with malware behaviour in opensource library sweetalert.js used in ABP on MVC side. Malware targeted to RU/SU/ะ ะค domains. How malware works: library add audio tag with content to DOM and start autoplay and blocks user interaction on any page where included library. URL to malware code in official repository: https://github.com/sweetalert2/sweetalert2/blob/7f36c2ed9d570f063502394fd7688a253df1b7fd/src/SweetAlert.js#L261 What we can do with it? Thank you!

  • ABP Framework version: v6.0.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

2 Answer(s)
  • User Avatar
    0
    romkij created

    Hello!

    As workaround we replace library with version 11.3.6 for our projects.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    mahmut.gundogdu created

    This was created by a third-party library. I am looking for a solution, but I can not access sweetalertjs github repo. You can set a selective version like.

    If you are using yarn, add resolutions.

    {
      "name": "project",
      "version": "1.0.0",
      "dependencies": {
       // ...
      },
      "resolutions": {
        "sweetalert2": " 11.3.6 ",
      }
    }
    

    if you are using npm, use

     "overrides": {} 
    
    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with โค๏ธ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
๐Ÿ” You need to be logged in to use the chatbot. Please log in first.