Cross-site scripting (XSS) in materialize-css
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-79.
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | materialize-css | all versions | — | No fix listed | CNA |
| — | materialize-css (npm) | up to 1.0.0 | — | No fix listed | GHSA-7jvx-f994-rfw2 |
- materialize-css Vendor— Affected all versions Fixed in — No fix listed CNA
- materialize-css (npm) Vendor— Affected up to 1.0.0 Fixed in — No fix listed GHSA-7jvx-f994-rfw2
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:materializecss:materialize:*:*:*:*:*:*:node.js:* | all versions | Vulnerable | Materializecss |
- cpe:2.3:a:materializecss:materialize:*:*:*:*:*:*:node.js:* Versions all versions Vulnerable ·Materializecss
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2022-25349
- 2026-10-03 Alias added: GHSA-7jvx-f994-rfw2
References
More Materializecss Materialize vulnerabilities
- TI-2019-08222 In Materialize through 1.0.0, XSS is possible via the Toast feature. CVSS 3.0MEDIUM 6.1
- TI-2019-08221 In Materialize through 1.0.0, XSS is possible via the Autocomplete feature. CVSS 3.0MEDIUM 6.1
- TI-2019-08220 In Materialize through 1.0.0, XSS is possible via the Tooltip feature. CVSS 3.0MEDIUM 6.1
Sources
- CVE-2022-25349 · CVE Program
- CVE-2022-25349 · NVD
- FIRST EPSS
- GHSA-7jvx-f994-rfw2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences