What’s Vulnerable › Vulnerabilities
CVE-2022-25349: Cross-site Scripting (XSS)
- Severity: medium (CVSS 5.4 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.0% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-05-01 · updated 2026-06-17
- Weakness: CWE-79
Description
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.
Affected products
- materialize-css: all versions
References
- https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498
- https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800
- https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498
- https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800
Get alerted when CVE-2022-25349 or the next vulnerability affects your stack