CVE-2022-25349: materialize-css - Stored XSS
- Cve: CVE-2022-25349
- Name: materialize-css - Stored XSS
- 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.
- Impact: Attackers can execute arbitrary scripts in the context of the affected website, leading to session hijacking, defacement, or data theft.
- Remediation: Update to the latest version of materialize-css that addresses this vulnerability or implement input sanitization measures.
- Vulnerability type: stored_xss
- Vulnerability impact: client_script_exec
- Requirement type: none
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.4
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- Epss score: 0.01046
- Epss percentile: 0.6503
- Assignee: [email protected]
- Published at: 2022-05-01T16:15:08Z
- Age in days: 1668
- Modified at: 2026-06-17T04:33:26Z
- Public exploits total: 2
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25349
- Nvd status: modified
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498 | nvd | 2022-05-01 |
| https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800 | nvd | 2022-05-01 |
References
| Url | Source | Tags |
|---|---|---|
| https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498 | nvd | Exploit, Third Party Advisory |
| https://snyk.io/vuln/SNYK-JS-MATERIALIZECSS-2324800 | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| materializecss:materialize | all versions | no | nvd | /v1/products/materializecss/materialize |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| dogfalo/materialize | package | yes | /v1/repositories/dogfalo/materialize |
Index
- Repositories: 1
- Repositories high signal: 1
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-05-01
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts