CVE-2020-8823: SockJS - Reflected XSS
- Cve: CVE-2020-8823
- Name: SockJS - Reflected XSS
- Description: htmlfile in lib/transport/htmlfile.js in SockJS before 0.3.0 is vulnerable to Reflected XSS via the /htmlfile c (aka callback) parameter.
- Impact: Attackers can execute arbitrary scripts in victim's browser, leading to session hijacking, defacement, or redirection.
- Remediation: Update to SockJS version 0.3.0 or later.
- Vulnerability type: reflected_xss
- Vulnerability impact: client_script_exec
- Requirement type: user_interaction
- Requirements: Attacker needs victim to click malicious link
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 6.1
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- Epss score: 0.01886
- Epss percentile: 0.8006
- Assignee: [email protected]
- Published at: 2020-02-10T03:15:10Z
- Age in days: 2479
- Modified at: 2026-06-17T03:27:00Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2020-8823
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation |
Hackerone
- Reports: 2
- Rank: 3806
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/theyiyibest/Reflected-XSS-on-SockJS | nvd | 2020-02-10 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/theyiyibest/Reflected-XSS-on-SockJS | Exploit, Patch, Third Party Advisory |
| https://www.sockjs.org | Vendor Advisory |
| https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1 | Third Party Advisory |
| https://snyk.io/vuln/SNYK-JS-SOCKJS-548397 | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| sockjs_project:sockjs | < 0.3.0 | no | nvd | /v1/products/sockjs_project/sockjs |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| theyiyibest/Reflected-XSS-on-SockJS | issues | yes | /v1/repositories/theyiyibest/Reflected-XSS-on-SockJS |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2020-02-10
- Remote: yes
- Hackerone reports: 2
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts