Malicious Code Injection in blue-string-formatter-utilss Package

blue-string-formatter-utilss Updated 22 Sep 2026

Summary

21/09/2026
CRITICAL
No i
Critical
Not published

MAL-2026-16363: Malicious code in blue-string-formatter-utilss (npm). Affects blue-string-formatter-utilss versions 1.2.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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The blue-string-formatter-utilss package is advertised as a utility for string formatting in JavaScript applications. However, it lacks any legitimate string formatting functionality and instead serves as a conduit for malicious code. This discrepancy raises significant security concerns, as the package can be exploited to execute harmful scripts in a user's environment.

Vulnerability Detail

The vulnerability originates from the package's main entry file, payload.js, which is an Immediately Invoked Function Expression (IIFE). This file dynamically creates a <script> element that loads a remote script from a known XSS payload delivery service, xss.report. When the module is loaded in a DOM context, it allows an attacker to execute arbitrary code, leading to potential data breaches, unauthorized access, and other security risks. The mismatch between the package's name and its actual behavior indicates a deliberate attempt to mislead users.

How To Fix

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

npm uninstall blue-string-formatter-utilss

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, avoid using the blue-string-formatter-utilss package in your application. If you require string formatting utilities, consider using well-known and trusted alternatives such as lodash or sprintf-js, which do not exhibit malicious behavior.

Conclusion

The blue-string-formatter-utilss package poses a significant security threat due to its malicious code that executes remote scripts. Users are advised to remove this package and consider safer alternatives. Regular monitoring of dependencies is essential to maintain application security.

See every vulnerability recorded for blue-string-formatter-utilss →

Share this vulnerability

FAQ

It is a JavaScript package that falsely claims to provide string formatting utilities but instead contains malicious code.

The vulnerability works by loading a remote script from an attacker-controlled source whenever the package is loaded in a DOM context.

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

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

Immediately uninstall the package and replace it with a trusted alternative. Regularly monitor your dependencies for vulnerabilities.

How To Fix

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

npm uninstall blue-string-formatter-utilss

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