Advisory

GHSA-hh8v-jmh3-9437

Also known as: CVE-2020-8823, SNYK-JS-SOCKJS-548397

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-04-13 15:25 UTC
Modified
2026-09-10 03:49 UTC

Affected packages and fixes

sockjs

npm · All systems

Affected

  • introduced 0, fixed 0.3.0 (semver)

Fixed versions

0.3.0

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences