CVE-2022-7145: Malicious code in widget-framework (npm)

widget-framework Updated 02 Oct 2025

Summary

22/07/2022
CRITICAL
No i
Critical
Not published

MAL-2022-7145: Malicious code in widget-framework (npm). Affected versions are not published. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The widget-framework is an npm package that provides a framework for building widgets. It is commonly used in web development projects to create interactive and dynamic user interfaces. The package allows developers to easily create and manage widgets, providing a set of tools and components for this purpose. However, the widget-framework is currently vulnerable to a malicious code injection attack, which can compromise the security of any system using this package.

Vulnerability Detail

The vulnerability in the widget-framework package originates from a malicious code injection. The package contains code that is designed to compromise the security of the system it is installed on. Once the package is installed or running on a computer, the entire system should be considered compromised. This means that all secrets and keys stored on that computer should be rotated immediately from a different computer. Simply removing the package may not be sufficient, as there is no guarantee that all malicious software resulting from its installation will be removed. The impact of this vulnerability can be severe, as it can lead to unauthorized access, data breaches, and other malicious activities.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall widget-framework

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The best course of action is to follow the steps outlined in the 'how_to_fix' section to remove the package and mitigate the potential impact of the malicious code.

Conclusion

The widget-framework package is currently vulnerable to a malicious code injection attack. It is crucial to remove the package from the system and take appropriate measures to mitigate the potential impact of the malicious code. If you require further support or assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for widget-framework →

Share this vulnerability

FAQ

The widget-framework is an npm package that provides a framework for building widgets in web development projects.

The impact of this vulnerability can be severe, as it can lead to unauthorized access, data breaches, and other malicious activities.

To fix this vulnerability, it is crucial to remove the widget-framework package from the system and rotate all secrets and keys stored on the compromised system from a different computer.

Simply removing the package may not be sufficient, as there is a possibility that other malicious software has been installed as a result of its installation. It is recommended to conduct a thorough security audit to identify any other potential security breaches.

If you suspect your system is compromised, it is crucial to take immediate action. Remove the widget-framework package, rotate all secrets and keys from a different computer, and conduct a security audit to identify and mitigate any other potential security breaches.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall widget-framework

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback