Medium
Security advisory
htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-8823
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:22 UTC · Revision 1
Source evidence
htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.
osv:CVE-2020-8823
Complete source record
{
"id": "aea984306fabf233308e8fd18f7298c21b91881244ba26dbfd54cc224af8af43",
"url": "https://osv.dev/vulnerability/CVE-2020-8823",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-8823",
"summary": "htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.",
"evidence": "osv:CVE-2020-8823",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-8823",
"aliases": [
"CVE-2020-8823",
"GHSA-hh8v-jmh3-9437",
"SNYK-JS-SOCKJS-548397"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/sockjs/sockjs-client",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "698fb5a742b14f377925860981ecfb271ae13903"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:sockjs_project:sockjs:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.3.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v0.2.1",
"v0.2.0",
"v0.1.1",
"v0.1.0",
"v0.0.2",
"v0.0.1",
"v0.0.0-dirty",
"v0.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-8823.json"
}
}
],
"modified": "2026-10-24T10:30:17.905843676Z",
"provider": "osv",
"references": [
"https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1",
"https://snyk.io/vuln/SNYK-JS-SOCKJS-548397",
"https://www.sockjs.org",
"https://github.com/theyiyibest/Reflected-XSS-on-SockJS"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2020-8823",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 429663,
"published_at": "2020-02-10T03:15:10.677+00:00"
}