{"id":"CVE-2022-25349","aliases":["CVE-2022-25349","GHSA-7jvx-f994-rfw2"],"related":[],"kind":"vulnerability","state":"published","title":"Cross-site Scripting (XSS)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"es","text":"Todas las versiones del paquete materialize-css son vulnerables a un ataque de tipo Cross-site Scripting (XSS) debido a un escape inapropiado de la entrada del usuario (como &lt;no-a-tag /&gt;) que está siendo analizada como HTML/JavaScript, e insertada en el Modelo de Objetos del Documento (DOM). Esta vulnerabilidad puede ser explotada cuando la entrada del usuario es proporcionada al componente de autocompletar","source":"nvd"}],"published":"2022-05-01T15:30:22.561Z","modified":"2026-06-17T04:33:26.300Z","severity":{"scorer":"snyk","scheme":"CVSS: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,"rating":"MEDIUM"},"severities":[{"scorer":"snyk","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"materialize-css","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.0.0"}],"ecosystem":"npm","package":"materialize-css","purl":"pkg:npm/materialize-css","source":"ghsa"},{"ranges":[],"vendor":"materializecss","product":"materialize","cpe":"cpe:2.3:a:materializecss:materialize:*:*:*:*:*:*:node.js:*","source":"nvd"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25349","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Dogfalo/materialize","tags":["package"],"sources":["ghsa"]}],"credits":["Paul Wheeler"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-25349","url":"https://www.cve.org/CVERecord?id=CVE-2022-25349","licence":"CVE Terms of Use","modified":"2024-09-17T00:55:44.827Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7jvx-f994-rfw2","url":"https://github.com/advisories/GHSA-7jvx-f994-rfw2","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:46.546Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-25349","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25349","licence":"Public domain","modified":"2026-06-17T04:33:26.300Z"}],"updatedAt":"2026-11-25T22:58:11.324Z","epss":{"score":0.01046,"percentile":0.65115,"date":"2026-12-01T12:00:22.000Z"}}