{"id":"CVE-2022-25349","published":"2022-05-01T15:30:22Z","modified":"2024-09-17T00:55:44Z","title":"Cross-site Scripting (XSS)","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.4,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01046,"percentile":0.64071,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498","tags":["x_refsource_MISC"]},{"url":"https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20","tags":["x_refsource_MISC"]}],"priority":{"score":16.6,"factors":[{"name":"EPSS percentile","points":12.81},{"name":"CVSS severity","points":3.78}]},"affectedVersions":[{"vendor":"n/a","product":"materialize-css","versions":["< unspecified"]}],"affected":[{"ecosystem":"npm","package":"materialize-css","vulnerableRanges":["<=1.0.0"],"patched":[],"from":["GHSA-7jvx-f994-rfw2"],"provenance":"source"}],"euvd":{"id":"EUVD-2022-3024","exploited":false,"provenance":"source"}}