{"cve":"CVE-2022-25349","nvd":{"published":"2022-05-01T16:15:08.483","modified":"2026-06-17T04:33:26.300","status":"Modified","description":"All versions of package materialize-css are vulnerable to Cross-site Scripting (XSS) due to improper escape of user input (such as &lt;not-a-tag /&gt;) 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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"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"],"products":["materializecss:materialize"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-25349","score":0.01046,"percentile":0.642,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-7jvx-f994-rfw2","url":"https://osv.dev/vulnerability/GHSA-7jvx-f994-rfw2","summary":"materialize-css vulnerable to cross-site Scripting (XSS) due to improper escape of user input","modified":"2023-11-08T04:08:46.546659Z","packages":[{"ecosystem":"npm","name":"materialize-css","purl":"pkg:npm/materialize-css","ranges":["<=1.0.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}