Critical Malicious Code Vulnerability in json-mapping-web Package
Summary
MAL-2026-552: Malicious code in json-mapping-web (npm). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The json-mapping-web package is an npm library designed for mapping JSON data structures. It is commonly used in web applications to facilitate data interchange between client and server. However, this package has been identified as containing malicious code, which poses significant security risks to any system utilizing it.
Vulnerability Detail
The vulnerability originates from the presence of embedded malicious code within the json-mapping-web package. This code can compromise the entire system where the package is installed, allowing unauthorized access to sensitive information such as secrets and keys. The implications of this vulnerability are severe, as it can lead to complete control of the affected computer by external entities, making it critical for users to take immediate action.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall json-mapping-web
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
Currently, there are no effective workarounds to mitigate the risks posed by this vulnerability other than removing the package entirely. Users should ensure that they do not run any applications that depend on json-mapping-web until it has been removed.
Conclusion
The json-mapping-web package contains malicious code that poses a significant security risk to any system using it. Immediate action is required to uninstall the package and secure any sensitive information. Users are encouraged to utilize tools like Vulert to monitor for vulnerabilities in their applications.
See every vulnerability recorded for json-mapping-web →
FAQ
json-mapping-web is an npm package used for mapping JSON data structures in web applications.
The malicious code can compromise the system, allowing unauthorized access to sensitive information and potentially giving control to external entities.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check if your application is affected without requiring any signup.
You should immediately uninstall the json-mapping-web package and rotate any secrets or keys stored on the affected system.
No, there is currently no patched version of the json-mapping-web package available.