Live threats

All CVEs / Materializecss

CVE-2022-25349Materializecss Materialize

Medium 5.4 No auth needed

Priority
47
CVSS 3.1
5.4
EPSS
1.0%
probability of exploitation in 30 days · percentile 60
Auth required
No
Published
May 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

What happens

All versions of package materialize-css are vulnerable to Cross-site Scripting (XSS) due to improper escape of user input (such as <not-a-tag />) that is being parsed as HTML/JavaScript, and inserted into the Document Object Model (DOM). This vulnerability can be exploited when the user-input is provided to the autocomplete component.

Original NVD text.

What to do

  1. Apply the vendor's security update for Materialize.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm materialize-css ≤ 1.0.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-7jvx-f994-rfw2). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
materializecssmaterializeall

Official sources

References

Links published by the sources. Open them with care.