GHSA-7jvx-f994-rfw2

Suggest an improvement
Source
https://github.com/advisories/GHSA-7jvx-f994-rfw2
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/05/GHSA-7jvx-f994-rfw2/GHSA-7jvx-f994-rfw2.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7jvx-f994-rfw2
Aliases
  • CVE-2022-25349
Published
2022-05-03T00:00:45Z
Modified
2023-11-08T04:08:46.546659Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N CVSS Calculator
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.

Database specific
{
    "nvd_published_at": "2022-05-01T16:15:00Z",
    "github_reviewed_at": "2022-05-03T21:09:12Z",
    "severity": "MODERATE",
    "github_reviewed": true,
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

npm / materialize-css

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Last affected
1.0.0