{"id":"GHSA-h24f-9mm4-w336","summary":"Cross-site Scripting (XSS) - Stored in crud-file-server","details":"Versions of `crud-file-server` before 0.8.0 are vulnerable to stored cross-site scripting (XSS). This is due to insufficient santiziation of filenames when directory index is served by `crud-file-server`.\n\n\n## Recommendation\n\nUpdate to version 0.8.0 or later.","aliases":["CVE-2018-3726"],"modified":"2023-11-08T04:00:17.488460Z","published":"2018-07-18T18:34:27Z","database_specific":{"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-06-16T21:38:21Z","nvd_published_at":"2018-06-07T02:29:00Z","cwe_ids":["CWE-79"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-3726"},{"type":"WEB","url":"https://github.com/omphalos/crud-file-server/commit/4155bfe068bf211b49a0b3ffd06e78cbaf1b40fa"},{"type":"WEB","url":"https://hackerone.com/reports/311101"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-h24f-9mm4-w336"},{"type":"WEB","url":"https://www.npmjs.com/advisories/570"}],"affected":[{"package":{"name":"crud-file-server","ecosystem":"npm","purl":"pkg:npm/crud-file-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.8.0"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 0.7.0","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-h24f-9mm4-w336/GHSA-h24f-9mm4-w336.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}