Advisory

GHSA-7jvx-f994-rfw2

Also known as: CVE-2022-25349

Summary

materialize-css vulnerable to cross-site Scripting (XSS) due to improper escape of user input

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-03 00:00 UTC
Modified
2023-11-08 04:08 UTC

Affected packages and fixes

materialize-css

npm · All systems

Affected

  • introduced 0, last affected 1.0.0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences