{"id":"GHSA-5p26-hw7f-3cpr","summary":"Cross-Site Scripting in html-pages","details":"All versions of `html-pages` are vulnerable to Cross-Site Scripting (XSS). The package fails to sanitize folder names, allowing attackers to execute arbitrary JavaScript in the victim's browser through folders with names containing malicious code.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative package until a fix is made available.","aliases":["CVE-2018-16481"],"modified":"2023-11-08T04:00:00.435641Z","published":"2019-02-07T18:14:44Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-06-16T21:16:48Z","nvd_published_at":null,"cwe_ids":["CWE-64","CWE-79"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16481"},{"type":"WEB","url":"https://hackerone.com/reports/330356"},{"type":"WEB","url":"https://www.npmjs.com/advisories/1001"}],"affected":[{"package":{"name":"html-pages","ecosystem":"npm","purl":"pkg:npm/html-pages"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.1.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2019/02/GHSA-5p26-hw7f-3cpr/GHSA-5p26-hw7f-3cpr.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}