CVE-2022-25349
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).
Does this matter?
Lower severity and a low EPSS score (1.03%). Track it; it rarely justifies an emergency change on its own.
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.
- CVSS 3.1
- 5.4 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- EPSS
- 1.03% probability · 62th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- materializecss/materialize
- Source
- report@snyk.io
References
- https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20Broken Link
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800Exploit, Third Party Advisory
- https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20Broken Link
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498Exploit, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800Exploit, Third Party Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.