GHSA-hh8v-jmh3-9437

Suggest an improvement
Source
https://github.com/advisories/GHSA-hh8v-jmh3-9437
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-hh8v-jmh3-9437/GHSA-hh8v-jmh3-9437.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-hh8v-jmh3-9437
Aliases
Published
2021-04-13T15:25:33Z
Modified
2026-09-10T03:49:03Z
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 in SocksJS-node
Details

htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.

Database specific
{
    "cwe_ids":  [
        "CWE-79"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2021-04-06T21:51:28Z",
    "nvd_published_at":  "2020-02-10T03:15:00Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / sockjs

Package

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-hh8v-jmh3-9437/GHSA-hh8v-jmh3-9437.json"