CVE-2022-25349
MEDIUMmaterialize-css - Cross-Site Scripting in Autocomplete Component
Title source: llmDescription
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.
References (3)
Core 3
Core References
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800
Exploit, Third Party Advisory x_refsource_misc
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498
Broken Link x_refsource_misc
https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20
Scores
CVSS v3
5.4
EPSS
0.0030
EPSS Percentile
53.7%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (2)
materializecss/materialize
npm/materialize-css
0npm
Published
May 01, 2022
Tracked Since
Feb 18, 2026