CVE-2019-11002: Cross-Site Scripting in materialize-css

materialize-css Updated 02 Oct 2025

Summary

09/04/2019
No i
Moderate
6.1

CVE-2019-11002: Materialize-css vulnerable to Cross-site Scripting in tooltip component. Affects materialize-css 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 Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

materialize-css is an npm package that provides a CSS framework for building responsive and interactive web applications. It offers a wide range of components and utilities to enhance the user interface. Unfortunately, all versions of materialize-css are vulnerable to a Cross-Site Scripting (XSS) attack. Specifically, the tooltip component fails to properly sanitize user input, allowing an attacker to execute arbitrary JavaScript code when the malicious input is rendered by a user.

Vulnerability Detail

The Cross-Site Scripting vulnerability in materialize-css poses a moderate risk to applications utilizing this package. By exploiting this vulnerability, an attacker can inject malicious scripts into web pages viewed by users. This can lead to various consequences, such as stealing sensitive information, session hijacking, defacement of websites, or even complete compromise of the user's system. The vulnerability is classified under CWE-79.

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 →

Workaround

As there is no official fix, a possible workaround is to implement input validation and sanitization on the server-side to prevent the execution of malicious scripts. Additionally, consider implementing Content Security Policy (CSP) headers to restrict the sources from which scripts can be loaded, mitigating the impact of XSS attacks.

Conclusion

The Cross-Site Scripting vulnerability in materialize-css can have serious implications for web applications utilizing this package. It is crucial to stay updated with the latest security advisories and consider alternative modules that prioritize security. For further assistance and support in addressing this vulnerability, you can reach out to DevNack.com.

See every vulnerability recorded for materialize-css →

Share this vulnerability

FAQ

materialize-css is an npm package that provides a CSS framework for building responsive and interactive web applications.

Cross-Site Scripting (XSS) is a type of security vulnerability that allows attackers to inject malicious scripts into web pages viewed by users.

By exploiting this vulnerability, an attacker can execute arbitrary JavaScript code on the user's browser, leading to various consequences such as data theft, session hijacking, or website defacement.

Currently, there is no fix available for this vulnerability in materialize-css. It is recommended to consider using an alternative module that has addressed this XSS vulnerability.

Implement input validation and sanitization on the server-side to prevent the execution of malicious scripts. Additionally, consider implementing Content Security Policy (CSP) headers to restrict the sources from which scripts can be loaded.

Related vulnerabilities

Recent vulnerabilities recorded for materialize-css.

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