{"id":"CVE-2024-47833","aliases":["CVE-2024-47833","GHSA-r3jq-4r5c-j9hp","PYSEC-2024-168"],"related":[],"kind":"vulnerability","state":"published","title":"Session Cookie without Secure and HTTPOnly flags in taipy","summary":"Taipy is an open-source Python library for easy, end-to-end application development for data scientists and machine learning engineers. In affected versions session cookies are served without Secure and HTTPOnly flags. This issue has been addressed in release version 4.0.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Taipy is an open-source Python library for easy, end-to-end application development for data scientists and machine learning engineers. In affected versions session cookies are served without Secure and HTTPOnly flags. This issue has been addressed in release version 4.0.0 and all users are advised to upgrade. There are no known workarounds for this vulnerability.","source":"cvelist"},{"lang":"en","text":"### Summary\nSession cookie is without Secure and HTTPOnly flags.\n\n### Details\nPlease take a look at this part of code (PoC screenshot) or check code directly (provided in Occurrences section below)\n\n**Occurrences**:\nhttps://github.com/Avaiga/taipy/blob/develop/frontend/taipy-gui/src/components/Taipy/Navigate.tsx#L67\n\n**Proposed remediation:** add Secure and HTTPOnly flags for cookies.\n\nIt could be like this:\ndocument.cookie = `tprh=${tprh};path=/;Secure;HttpOnly;`;\n\n\n### PoC\n**Screenshot**:\n![image](https://github.com/Avaiga/taipy/assets/18367606/ea7d1bbd-ba27-447f-932b-3d33ffc1a2e7)\n\n\n### Impact\n**Secure**: This flag indicates that the cookie should only be sent over secure HTTPS connections. Without this flag, the cookie will be sent over both HTTP and HTTPS connections, which could expose it to interception or tampering if the connection is not secure.\n**HttpOnly:** This flag prevents the cookie from being accessed by client-side JavaScript. It helps mitigate certain types of attacks, such as cross-site scripting (XSS), by preventing malicious scripts from accessing the cookie's value.\n\n**References**\n    CWE-614: Sensitive Cookie in HTTPS Session Without 'Secure' Attribute https://cwe.mitre.org/data/definitions/614.html\n    CWE-1004: Sensitive Cookie Without 'HttpOnly' Flag - https://cwe.mitre.org/data/definitions/1004.html\n    OWASP - Secure Cookie Attribute - https://owasp.org/www-community/controls/SecureCookieAttribute\n    Cookie security flags - https://www.invicti.com/learn/cookie-security-flags/\n    Cookie lack Secure flag - https://support.detectify.com/support/solutions/articles/48001048982-cookie-lack-secure-flag\n\n**Other**:\nTitle: Encrypting the Web\nURL: https://www.eff.org/encrypt-the-web\n\nUpdate (Required advisory information) - added severity, resource: \nhttps://portswigger.net/kb/issues/00500200_tls-cookie-without-secure-flag-set\n\nBest regards,","format":"markdown","source":"ghsa"},{"lang":"es","text":"Taipy es una librería Python de código abierto que permite el desarrollo de aplicaciones de extremo a extremo para científicos de datos e ingenieros de aprendizaje automático. En las versiones afectadas, las cookies de sesión se envían sin los indicadores Secure y HTTPOnly. Este problema se ha solucionado en la versión 4.0.0 y se recomienda a todos los usuarios que actualicen la versión. No se conocen workarounds para esta vulnerabilidad.","source":"nvd"}],"published":"2024-08-27T19:50:59.000Z","modified":"2026-06-17T07:57:50.267Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":6.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-319","CWE-614","CWE-732","CWE-1004"],"affected":[{"ranges":[{"version":"< 4.0.0","status":"affected"}],"vendor":"Avaiga","product":"taipy","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"4.0.0","status":"affected"}],"vendor":"avaiga","product":"taipy","cpe":"cpe:2.3:a:avaiga:taipy:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.0.0"}],"ecosystem":"PyPI","package":"taipy","purl":"pkg:pypi/taipy","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.0.0"}],"vendor":"avaiga","product":"taipy","cpe":"cpe:2.3:a:avaiga:taipy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.0.0"}],"ecosystem":"PyPI","package":"taipy","purl":"pkg:pypi/taipy","source":"pysec"}],"references":[{"url":"https://github.com/Avaiga/taipy/security/advisories/GHSA-r3jq-4r5c-j9hp","tags":["evidence","exploit","third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47833","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Avaiga/taipy","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/Avaiga/taipy/blob/develop/frontend/taipy-gui/src/components/Taipy/Navigate.tsx#L67","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/taipy/PYSEC-2024-168.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2024-10-09T19:51:41.486Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-47833","url":"https://www.cve.org/CVERecord?id=CVE-2024-47833","licence":"CVE Terms of Use","modified":"2024-10-09T19:55:10.993Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r3jq-4r5c-j9hp","url":"https://github.com/advisories/GHSA-r3jq-4r5c-j9hp","licence":"CC-BY-4.0","modified":"2025-01-21T18:36:26.573Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-47833","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-47833","licence":"Public domain","modified":"2026-06-17T07:57:50.267Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-168","url":"https://osv.dev/vulnerability/PYSEC-2024-168","licence":"CC-BY-4.0","modified":"2025-01-18T19:56:53.685Z"}],"updatedAt":"2026-11-25T22:58:46.431Z","epss":{"score":0.00317,"percentile":0.17101,"date":"2026-11-30T12:00:22.000Z"}}