Embedded Malicious Code Affecting ng2-file-upload package, versions =7.0.2=7.0.3=8.0.1=8.0.2=8.0.3=9.0.1


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Attacked

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-NG2FILEUPLOAD-12672645
  • published15 Sept 2025
  • disclosed15 Sept 2025
  • creditUnknown

Introduced: 15 Sep 2025

Malicious CVE NOT AVAILABLE CWE-506  (opens in a new tab)

How to fix?

Avoid using all malicious instances of the ng2-file-upload package.

Overview

ng2-file-upload is an Angular file uploader

Affected versions of this package are vulnerable to Embedded Malicious Code. Compromised versions of this package contain a postinstall script called bundle.js that exfiltrates secrets from the affected user's accounts. These versions have been removed from npm.

CVSS Base Scores

version 4.0
version 3.1