Malicious Package in nginxbeautifier

nginxbeautifier Updated 02 Oct 2025

Summary

01/09/2020
CRITICAL
Yes i
Critical
9.8

GHSA-28xx-8j99-m32j: Malicious Package in nginxbeautifier. Affects nginxbeautifier versions >= 1.0.14, < 1.0.15. Fixed in 1.0.15. 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

nginxbeautifier is an npm package that provides a tool for beautifying nginx configuration files. It is commonly used by developers and system administrators to improve the readability and organization of nginx configurations. However, version 1.0.14 of nginxbeautifier contained malicious code that posed a security risk to applications using this version.

Vulnerability Detail

The vulnerability in version 1.0.14 of nginxbeautifier allowed the execution of malicious code in the browser. When this code was triggered, it would search for password, cvc, and cardnumber fields in forms and extract their values. These extracted values were then sent to a remote server at https://js-metrics.com/minjs.php?pl=. This unauthorized data collection could potentially compromise sensitive user information, such as passwords and credit card details.

How To Fix

Minimum fixed version

1.0.15

This is the first release that contains the fix.

npm install nginxbeautifier@1.0.15

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

Version 1.0.14 of nginxbeautifier contained a critical vulnerability that allowed the execution of malicious code in the browser. This code could extract sensitive user information and send it to a remote server. To mitigate this risk, it is crucial to replace version 1.0.14 with a safe version and evaluate the impact on user data. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for nginxbeautifier →

Share this vulnerability

FAQ

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability. Vulert analyzes your package-lock.json file in real-time and alerts you about any open-source vulnerabilities, including this one.

The potential consequences of this vulnerability include unauthorized access to sensitive user information, such as passwords and credit card details. This can lead to identity theft, financial loss, and other security breaches.

No, only version 1.0.14 of nginxbeautifier is affected by this vulnerability. Versions before and after 1.0.14 are not compromised.

If your application is affected, you should immediately replace version 1.0.14 of nginxbeautifier with a safe version. Additionally, you should assess the potential impact on user data and take appropriate measures to secure and notify affected users.

No, there is no known workaround for this vulnerability. It is essential to update the package to a safe version as soon as possible.

How To Fix

Minimum fixed version

1.0.15

This is the first release that contains the fix.

npm install nginxbeautifier@1.0.15

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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