{"id":"CVE-2019-13611","aliases":["CVE-2019-13611","GHSA-j3jp-gvr5-7hwq","PYSEC-2019-170"],"related":[],"kind":"vulnerability","state":"published","title":"python-engineio vulnerable to Cross-Site Request Forgery (CSRF)","summary":"An issue was discovered in python-engineio through 3.8.2. There is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability that allows attackers to make WebSocket connections to a server by using a victim's credentials, because the Origin header is not restricted.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in python-engineio through 3.8.2. There is a Cross-Site WebSocket Hijacking (CSWSH) vulnerability that allows attackers to make WebSocket connections to a server by using a victim's credentials, because the Origin header is not restricted.","source":"cvelist"},{"lang":"en","text":"## WebSocket cross-origin vulnerability\n\n### Impact\nThis is a Cross-Site Request Forgery (CSRF) vulnerability. It affects Socket.IO and Engine.IO web servers that authenticate clients using cookies.\n\n### Patches\npython-engineio version 3.9.0 patches this vulnerability by adding server-side Origin header checks.\n\n### Workarounds\nDo not use cookies for client authentication, or else add a CSRF token to the connection URL.\n\n### References\nhttps://www.owasp.org/index.php/Cross-Site_Request_Forgery_(CSRF)\nhttps://www.christian-schneider.net/CrossSiteWebSocketHijacking.html\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [python-engineio](http://github.com/miguelgrinberg/python-engineio)","format":"markdown","source":"ghsa"},{"lang":"es","text":"Se descubrió un problema en python-engineio hasta la versión 3.8.2. Se presenta una vulnerabilidad de tipo Cross-Site WebSocket Hijacking (CSWSH) que permite a los atacantes realizar conexiones de WebSocket hacia un servidor mediante el uso de las credenciales de la víctima, debido a que el encabezado Origin no está restringido.","source":"nvd"}],"published":"2019-07-15T23:17:14.000Z","modified":"2026-06-17T02:17:04.210Z","severity":{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","score":6.8,"rating":"MEDIUM"}],"cwes":["CWE-352"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.9.0"}],"ecosystem":"PyPI","package":"python-engineio","purl":"pkg:pypi/python-engineio","source":"ghsa"},{"ranges":[{"status":"affected","lastAffected":"3.8.2"}],"vendor":"python-engineio_project","product":"python-engineio","cpe":"cpe:2.3:a:python-engineio_project:python-engineio:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.9.0"}],"ecosystem":"PyPI","package":"python-engineio","purl":"pkg:pypi/python-engineio","source":"pysec"}],"references":[{"url":"https://github.com/miguelgrinberg/python-engineio/issues/128","tags":["patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/miguelgrinberg/python-engineio/security/advisories/GHSA-j3jp-gvr5-7hwq","tags":["web"],"sources":["ghsa"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13611","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-j3jp-gvr5-7hwq","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/miguelgrinberg/python-engineio","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/python-engineio/PYSEC-2019-170.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2019-13611","url":"https://www.cve.org/CVERecord?id=CVE-2019-13611","licence":"CVE Terms of Use","modified":"2024-08-04T23:57:39.515Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j3jp-gvr5-7hwq","url":"https://github.com/advisories/GHSA-j3jp-gvr5-7hwq","licence":"CC-BY-4.0","modified":"2024-10-25T21:01:41.189Z"},{"source":"nvd","name":"NVD","id":"CVE-2019-13611","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-13611","licence":"Public domain","modified":"2026-06-17T02:17:04.210Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2019-170","url":"https://osv.dev/vulnerability/PYSEC-2019-170","licence":"CC-BY-4.0","modified":"2023-11-08T04:01:08.654Z"}],"updatedAt":"2026-11-25T22:57:46.001Z","epss":{"score":0.00853,"percentile":0.59372,"date":"2026-12-01T12:00:22.000Z"}}