Malicious Package in font-scrubber

font-scrubber Updated 02 Oct 2025

Summary

02/09/2020
CRITICAL
No i
Critical
9.8

GHSA-65j7-66p7-9xgf: Malicious Package in font-scrubber. 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 font-scrubber package is an npm package used for font sanitization and scrubbing. It is designed to remove any potentially harmful or malicious code from font files. The package is commonly used in web development projects to ensure the security and integrity of fonts used on websites. However, version 1.2.2 of the font-scrubber package contains a critical vulnerability that allows an attacker to upload sensitive files from the system to a remote server. This includes configuration files, command history logs, SSH keys, and the /etc/passwd file.

Vulnerability Detail

The vulnerability in font-scrubber version 1.2.2 is due to the presence of malicious code in the package's postinstall script. When the package is installed or running on a computer, it gives full control to an outside entity. This compromises the entire system, making it fully compromised. As a result, all secrets and keys stored on the affected computer should be rotated immediately from a different computer. Simply removing the package may not remove all the malicious software installed as a result of its installation.

How To Fix

No fixed version is published for this vulnerability.

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

Conclusion

Version 1.2.2 of the font-scrubber package contains a critical vulnerability that compromises the entire system and allows an attacker to upload sensitive files to a remote server. It is crucial to identify and remove this package from all affected systems, rotate all sensitive information, and conduct a security audit. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for font-scrubber →

Share this vulnerability

FAQ

Font-scrubber is an npm package used for font sanitization and scrubbing. It helps remove potentially harmful or malicious code from font files.

The vulnerability allows an attacker to upload sensitive files from the system to a remote server. This includes configuration files, command history logs, SSH keys, and the /etc/passwd file. It compromises the entire system, making it fully compromised.

To fix the vulnerability, you should identify all systems with the font-scrubber package version 1.2.2 installed, assume they are fully compromised, rotate all sensitive information from a different computer, and remove the font-scrubber package.

No, there is no known workaround for this vulnerability. It is recommended to follow the steps provided to fix the issue.

After removing the font-scrubber package, it is recommended to conduct a thorough security audit to identify any other potential compromises or vulnerabilities.

Related vulnerabilities

Recent vulnerabilities recorded for font-scrubber.

How To Fix

No fixed version is published for this vulnerability.

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