{ "schema_version": "1.4.0", "id": "GHSA-h24f-9mm4-w336", "modified": "2023-01-31T01:54:25Z", "published": "2018-07-18T18:34:27Z", "aliases": [ "CVE-2018-3726" ], "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.", "severity": [ { "type": "CVSS_V3", "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N" } ], "affected": [ { "package": { "ecosystem": "npm", "name": "crud-file-server" }, "ranges": [ { "type": "ECOSYSTEM", "events": [ { "introduced": "0" }, { "fixed": "0.8.0" } ] } ], "database_specific": { "last_known_affected_version_range": "<= 0.7.0" } } ], "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" } ], "database_specific": { "cwe_ids": [ "CWE-79" ], "severity": "MODERATE", "github_reviewed": true, "github_reviewed_at": "2020-06-16T21:38:21Z", "nvd_published_at": "2018-06-07T02:29:00Z" } }