{"id":"CVE-2022-25349","aliases":["EUVD-2022-3024","GHSA-7jvx-f994-rfw2"],"status":"published","title":"Cross-site Scripting (XSS)","description":"All versions of package materialize-css are vulnerable to Cross-site Scripting (XSS) due to improper escape of user input (such as \u0026lt;not-a-tag /\u0026gt;) 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.","severity":{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.01046,"percentile":0.64468,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-79"],"published":"2022-05-01T15:30:22Z","modified":"2026-06-17T04:33:26Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"materialize-css","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"materialize-css","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.0"}]}]}],"products":[{"vendor":"materializecss","product":"materialize"}],"references":[{"url":"https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20","tags":["x_refsource_MISC","x_transferred","Broken Link","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-25349","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7jvx-f994-rfw2"},{"url":"https://github.com/Dogfalo/materialize","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-25349","title":"Cross-site Scripting (XSS)","description":"All versions of package materialize-css are vulnerable to Cross-site Scripting (XSS) due to improper escape of user input (such as \u0026lt;not-a-tag /\u0026gt;) 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.","status":"published","published":"2022-05-01T15:30:22.561Z","modified":"2024-09-17T00:55:44.827Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"updated_at":"2026-11-02T14:34:28.707644Z"}],"euvd":[{"id":"EUVD-2022-3024","description":"All versions of package materialize-css are vulnerable to Cross-site Scripting (XSS) due to improper escape of user input (such as \u0026lt;not-a-tag /\u0026gt;) 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.","status":"published","published":"2022-05-01T15:30:22Z","modified":"2024-09-17T00:55:44Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-03T00:28:54.507992Z"}],"ghsa":[{"id":"GHSA-7jvx-f994-rfw2","title":"materialize-css vulnerable to cross-site Scripting (XSS) due to improper escape of user input","description":"All versions of package materialize-css are vulnerable to Cross-site Scripting (XSS) due to improper escape of user input (such as \u0026lt;not-a-tag /\u0026gt;) 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.","status":"published","published":"2022-05-03T00:00:45Z","modified":"2023-02-01T05:00:55Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:36:30.61364Z"}],"nvd":[{"id":"CVE-2022-25349","description":"All versions of package materialize-css are vulnerable to Cross-site Scripting (XSS) due to improper escape of user input (such as \u0026lt;not-a-tag /\u0026gt;) 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.","status":"published","published":"2022-05-01T16:15:08.483Z","modified":"2026-06-17T04:33:26.3Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"},{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:07:18.660414Z"}],"osv":[{"id":"GHSA-7jvx-f994-rfw2","title":"materialize-css vulnerable to cross-site Scripting (XSS) due to improper escape of user input","description":"All versions of package materialize-css are vulnerable to Cross-site Scripting (XSS) due to improper escape of user input (such as \u0026lt;not-a-tag /\u0026gt;) 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.","status":"published","published":"2022-05-03T00:00:45Z","modified":"2023-11-08T04:08:46.546659Z","cvss":[{"version":"3.1","score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T15:46:41.002603Z"}]}}
