GHSA-h24f-9mm4-w336

Suggest an improvement
Source
https://github.com/advisories/GHSA-h24f-9mm4-w336
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2018/07/GHSA-h24f-9mm4-w336/GHSA-h24f-9mm4-w336.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h24f-9mm4-w336
Aliases
Published
2018-07-18T18:34:27Z
Modified
2023-11-08T04:00:17Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
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.

Recommendation

Update to version 0.8.0 or later.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-06-16T21:38:21Z",
    "nvd_published_at":  "2018-06-07T02:29:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / crud-file-server

Package

Name
crud-file-server
View open source insights on deps.dev
Purl
pkg:npm/crud-file-server

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.8.0

Database specific

last_known_affected_version_range
"<= 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"