Critical Security Flaw in css-reading-display-polyfill: Malicious Code Execution

css-reading-display-polyfill Updated 08 Oct 2026

Summary

08/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17656: Malicious code in css-reading-display-polyfill (npm). Affects css-reading-display-polyfill versions 1.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

css-reading-display-polyfill is an npm package designed as a CSS polyfill. However, it lacks any actual polyfill functionality and instead contains malicious code that executes upon loading. This code is designed to collect sensitive information from the host environment, making it a significant security risk for developers and organizations using this package.

Vulnerability Detail

The vulnerability originates from the thunderboltRegistry.js file within the css-reading-display-polyfill package. When this file is loaded, it executes a series of commands that gather sensitive information such as the host identity (id, whoami, uname), environment variables, network interfaces, and the contents of /etc/hosts. This information is then sent to a hardcoded external URL (https://webhook.site/69bcd627-1871-4dda-b880-83b37ceac418), potentially exposing tokens, API keys, and other sensitive data. The malicious nature of this code poses a severe risk, particularly in environments where CI secrets and cloud credentials are stored as environment variables.

How To Fix

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

npm uninstall css-reading-display-polyfill

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 measure, you can prevent the execution of the malicious code by avoiding the use of this package altogether. If you must use it, consider isolating it in a controlled environment where sensitive data is not accessible.

Conclusion

The css-reading-display-polyfill package poses a significant security risk due to its embedded malicious code that collects and exfiltrates sensitive information. It is crucial for developers to remove this package and monitor their systems for any signs of compromise. Utilizing tools like Vulert can help in identifying vulnerabilities in your projects.

See every vulnerability recorded for css-reading-display-polyfill →

Share this vulnerability

FAQ

css-reading-display-polyfill is an npm package that was intended to serve as a CSS polyfill but contains malicious code instead.

The malicious code runs commands to collect sensitive information from the host and sends it to an external server.

The code collects host identity, environment variables, network interfaces, and the contents of /etc/hosts.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without needing to sign up.

Remove the css-reading-display-polyfill package from your project immediately and monitor your environment for any potential leaks of sensitive information.

How To Fix

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

npm uninstall css-reading-display-polyfill

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