Critical Malicious Code Vulnerability in legacy-shared-frontend Package

legacy-shared-frontend Updated 19 Mar 2026

Summary

18/03/2026
CRITICAL
No i
Critical
Not published

MAL-2026-1768: Malicious code in legacy-shared-frontend (npm). Affects legacy-shared-frontend versions 100.0.0. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The legacy-shared-frontend package is a component used in npm ecosystems, primarily designed for shared frontend functionalities across various applications. It provides essential features that facilitate the development of user interfaces. However, this package has been identified to contain malicious code, posing significant security risks to applications that depend on it.

Vulnerability Detail

The vulnerability in the legacy-shared-frontend package stems from the introduction of malicious code that can compromise the integrity of applications utilizing this package. This issue originated from a malicious actor who injected harmful scripts into version 100.0.0 of the package. The ramifications of this vulnerability include unauthorized access to sensitive data, potential data breaches, and the ability for attackers to execute arbitrary code within the affected applications.

How To Fix

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

npm uninstall legacy-shared-frontend

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

As a temporary workaround, you can remove the legacy-shared-frontend package from your project until a secure version is released. This can be done using the command: npm uninstall legacy-shared-frontend. Additionally, consider using alternative packages that provide similar functionalities without the associated risks.

Conclusion

The legacy-shared-frontend package has been identified with a critical vulnerability due to malicious code injection. It is imperative for developers using this package to take immediate action by updating to a secure version or removing the package altogether to protect their applications from potential threats.

See every vulnerability recorded for legacy-shared-frontend →

Share this vulnerability

FAQ

It is an npm package designed for shared frontend functionalities in web applications.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application against this vulnerability using the Vulert playground at Vulert Scanner.

The risks include unauthorized access to sensitive data, potential data breaches, and execution of arbitrary code.

Yes, updating to a patched version of the legacy-shared-frontend package is recommended to mitigate the vulnerability.

Consider removing the package from your project as a temporary measure until a secure version is available.

How To Fix

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

npm uninstall legacy-shared-frontend

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