Malicious Code Injection in css-display-reading-polyfill: A Security Threat

css-display-reading-polyfill Updated 05 Oct 2026

Summary

05/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17549: Malicious code in css-display-reading-polyfill (npm). Affects css-display-reading-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 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 css-display-reading-polyfill is an npm package designed to enhance the display of reading content in web applications. It is commonly used in various projects to ensure a consistent user experience across different platforms. However, this package has been found to contain malicious code that compromises the security of applications utilizing it.

Vulnerability Detail

The vulnerability originates from a malicious payload embedded in the package's payload.bundle.min.js file. Upon loading, this file executes an Immediately Invoked Function Expression (IIFE) that runs shell commands to gather sensitive information about the host system, including user identity and operating system details. This information is then sent to an attacker-controlled endpoint, posing significant risks such as data exfiltration and unauthorized access to system information. The package impersonates an internal module used by Wix, making it a dependency-confusion attack that exploits the trust placed in internal package names.

How To Fix

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

npm uninstall css-display-reading-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 workaround, you can prevent the execution of the malicious code by removing the css-display-reading-polyfill package from your project. Use the following command to uninstall it: npm uninstall css-display-reading-polyfill. Additionally, monitor your application for any suspicious activity until a fix is implemented.

Conclusion

The css-display-reading-polyfill package contains a serious vulnerability due to embedded malicious code that can compromise the security of applications. It is essential to take immediate action by updating or removing the package to protect your system from potential threats.

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

Share this vulnerability

FAQ

It is an npm package used to improve the display of reading content in web applications.

The malicious code collects sensitive information from the host system and sends it to an attacker-controlled endpoint.

The risks include data exfiltration, unauthorized access to system information, and potential exploitation of the affected application.

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.

If no patched version is available, consider removing the package and replacing it with a secure alternative to mitigate risks.

How To Fix

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

npm uninstall css-display-reading-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