CVE-2022-25349 json
Cross-site Scripting (XSS)
published 2022-05-01 4 y ago modified 2026-06-17 4 mo ago also EUVD-2022-3024 , GHSA-7jvx-f994-rfw2
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 64%
- public exploits
- 0
- none known
Summary
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.
Exploit prediction
1.05% chance of exploitation in the next 30 days, higher than 64% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | materialize-css | <=1.0.0 |
no fix listed |
Affected products
- n/a materialize-css
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
snyk.io
/vuln/SNYK-JS-MATERIALIZECSS-2324800
web, exploit, third-party-advisory
-
snyk.io
/vuln/SNYK-JAVA-ORGWEBJARSNPM-2766498
web, exploit, third-party-advisory
-
github.com
/Dogfalo/materialize/blob/v1-dev/js/autocomplete.js%23L285%20
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2022-25349
advisory
-
github.com
/Dogfalo/materialize
package
Sources
- CVE List CVE-2022-25349
- GitHub Advisory GHSA-7jvx-f994-rfw2
- NVD CVE-2022-25349
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Address typo in CPE.