Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Materializecss | Materialize | All versions |
Related Weaknesses (CWE)
References
- https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20Broken Link
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800ExploitThird Party Advisory
- https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20Broken Link
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498ExploitThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800ExploitThird Party Advisory
FAQ
What is CVE-2022-25349?
CVE-2022-25349 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 ins...
How severe is CVE-2022-25349?
CVE-2022-25349 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-25349?
Check the references section above for vendor advisories and patch information. Affected products include: Materializecss Materialize.