SecurityContext

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

IdName
CWE-79Improper Neutralization of Input During Web Page Generation

Hackerone

  • Reports: 2
  • Rank: 3806

Public exploits

UrlSourceAdded date
https://github.com/theyiyibest/Reflected-XSS-on-SockJSnvd2020-02-10

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/theyiyibest/Reflected-XSS-on-SockJSExploit, Patch, Third Party Advisory
https://www.sockjs.orgVendor Advisory
https://github.com/theyiyibest/Reflected-XSS-on-SockJS/issues/1Third Party Advisory
https://snyk.io/vuln/SNYK-JS-SOCKJS-548397Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
sockjs_project:sockjs< 0.3.0nonvd/v1/products/sockjs_project/sockjs

Projects

RepositoryLink kindsIndexedUrl
theyiyibest/Reflected-XSS-on-SockJSissuesyes/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