GHSA-v633-x5vv-hqwc

Suggest an improvement
Source
https://github.com/advisories/GHSA-v633-x5vv-hqwc
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-v633-x5vv-hqwc/GHSA-v633-x5vv-hqwc.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-v633-x5vv-hqwc
Aliases
Published
2017-10-24T18:33:36Z
Modified
2023-11-08T03:58:03Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
Cross-Site Scripting in serve-index
Details

Versions 1.6.2 and earlier of serve-index are affected by a cross-site scripting vulnerability. Because file and directory names are not escaped in the module's HTML output, a remote attacker that can influence file or directory names can launch a persistent cross-site scripting attack on the application.

Recommendation

Update to version 1.6.3 or later.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2020-06-16T21:56:54Z",
    "nvd_published_at":  "2017-01-23T21:59:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / serve-index

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-v633-x5vv-hqwc/GHSA-v633-x5vv-hqwc.json"