CVE-2022-25349Materializecss Materialize
Medium 5.4 No auth needed
Follow: this CVE · Materializecss · Materializecss Materialize We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Materialize.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| materializecss | materialize | all |
Official sources
References
Links published by the sources. Open them with care.
- github.com Broken Link
- snyk.io Exploit Third Party Advisory
- snyk.io Exploit Third Party Advisory