{"id":"CVE-2018-16481","aliases":["EUVD-2019-0228","GHSA-5p26-hw7f-3cpr"],"status":"published","title":"Cross-Site Scripting in html-pages","description":"A XSS vulnerability was found in html-page \u003c=2.1.1 that allows malicious Javascript code to be executed in the user's browser due to the absence of sanitization of the paths before rendering.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-07","score":0.00691,"percentile":0.53087,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-64","CWE-79"],"published":"2019-02-01T18:00:00Z","modified":"2026-06-17T01:44:22Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"html-pages","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"3.1.0"}]}]},{"source":"osv","ecosystem":"npm","package":"html-pages","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.1.0"}]}]}],"products":[{"vendor":"hackerone","product":"html-pages"},{"vendor":"html-pages_project","product":"html-pages"}],"references":[{"url":"https://hackerone.com/reports/330356","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2018-16481","tags":["advisory"]},{"url":"https://www.npmjs.com/advisories/1001","tags":["web"]},{"url":"https://github.com/advisories/GHSA-5p26-hw7f-3cpr"}],"sources":{"cve":[{"id":"CVE-2018-16481","description":"A XSS vulnerability was found in html-page \u003c=2.1.1 that allows malicious Javascript code to be executed in the user's browser due to the absence of sanitization of the paths before rendering.","status":"published","published":"2019-02-01T18:00:00Z","modified":"2024-08-05T10:24:32.672Z","cwes":["CWE-79"],"updated_at":"2026-11-02T14:35:11.072321Z"}],"euvd":[{"id":"EUVD-2019-0228","description":"A XSS vulnerability was found in html-page \u003c=2.1.1 that allows malicious Javascript code to be executed in the user's browser due to the absence of sanitization of the paths before rendering.","status":"published","published":"2019-02-01T18:00:00Z","modified":"2024-08-05T10:24:32Z","updated_at":"2026-11-03T02:39:41.299131Z"}],"ghsa":[{"id":"GHSA-5p26-hw7f-3cpr","title":"Cross-Site Scripting in html-pages","description":"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.","status":"published","published":"2019-02-07T18:14:44Z","modified":"2023-09-12T20:39:51Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-64","CWE-79"],"updated_at":"2026-11-02T14:37:04.447845Z"}],"nvd":[{"id":"CVE-2018-16481","description":"A XSS vulnerability was found in html-page \u003c=2.1.1 that allows malicious Javascript code to be executed in the user's browser due to the absence of sanitization of the paths before rendering.","status":"published","published":"2019-02-01T18:29:00.677Z","modified":"2026-06-17T01:44:22.217Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-79"],"updated_at":"2026-11-02T14:04:53.728218Z"}],"osv":[{"id":"GHSA-5p26-hw7f-3cpr","title":"Cross-Site Scripting in html-pages","description":"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.","status":"published","published":"2019-02-07T18:14:44Z","modified":"2023-11-08T04:00:00.435641Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-64","CWE-79"],"updated_at":"2026-11-02T15:46:38.553953Z"}]}}
