CVE-2022-25349
JSON

5.4medium

Cross-site Scripting (XSS)

Severity
5.4medium CVSS:3.1 by snyk
Exploit likelihood
1.05% (higher than 65% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-7jvx-f994-rfw2

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.

Affected

Product or packageVersionsReported by
materialize-cssbefore unspecifiedCVE List
materialize-css (npm)up to 1.0.0GitHub Advisory Database
materializecss materializeNot specifiedNVD

All scores

snyk5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
NVD4.3medium CVSS:2.0AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

What each source says

CVE List

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.

NVD (es)

Todas las versiones del paquete materialize-css son vulnerables a un ataque de tipo Cross-site Scripting (XSS) debido a un escape inapropiado de la entrada del usuario (como <no-a-tag />) que está siendo analizada como HTML/JavaScript, e insertada en el Modelo de Objetos del Documento (DOM). Esta vulnerabilidad puede ser explotada cuando la entrada del usuario es proporcionada al componente de autocompletar

References

Sources

SourceRecordLicence
CVE ListCVE-2022-25349 changed 2024-09-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-7jvx-f994-rfw2 changed 2023-11-08CC-BY-4.0
NVDCVE-2022-25349 changed 2026-06-17Public domain