{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-62379","id":"CVE-2025-62379","title":"Open Redirect in reflex-dev/reflex","description":"Reflex is a library to build full-stack web apps in pure Python. In versions 0.5.4 through 0.8.14, the /auth-codespace endpoint automatically assigns the redirect_to query parameter value directly to client-side links without any validation and triggers automatic clicks when the page loads in a GitHub Codespaces environment. This allows attackers to redirect users to arbitrary external URLs. The v","descriptionLong":"Reflex is a library to build full-stack web apps in pure Python. In versions 0.5.4 through 0.8.14, the /auth-codespace endpoint automatically assigns the redirect_to query parameter value directly to client-side links without any validation and triggers automatic clicks when the page loads in a GitHub Codespaces environment. This allows attackers to redirect users to arbitrary external URLs. The vulnerable route is only registered when a Codespaces environment is detected, and the detection is controlled by environment variables. The same behavior can be activated in production if the GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN environment variable is set. The vulnerability occurs because the code assigns the redirect_to query parameter directly to a.href without any validation and immediately triggers a click (automatic navigation), allowing users to be sent to arbitrary external domains. The execution condition is based on the presence of a sessionStorage flag, meaning it triggers immediately on first visits or in incognito/private browsing windows, with no server-side origin/scheme whitelist or internal path enforcement defenses in place. This issue has been patched in version 0.8.15. As a workaround, users can ensure that GITHUB_CODESPACES_PORT_FORWARDING_DOMAIN is not set in a production environment.","published":"2025-10-15T15:57:57.208Z","updated":"2026-10-28T02:31:00.367072222Z","reserved":"2025-10-10T14:22:48.205Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub_M"},"metrics":[{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub_M"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"github.com"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"OSV"},{"version":"3.1","score":3.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","rating":"low","source":"GitHub"}],"rating":"low","products":["reflex-dev reflex"],"affectedProducts":[{"vendor":"reflex-dev","product":"reflex","defaultStatus":null,"versions":[{"version":">= 0.5.4, < 0.8.15","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"reflex","purl":"pkg:pypi/reflex","ranges":[">=0.5.4 <=0.8.14"],"fixed":[],"advisory":"GHSA-rfh5-c9h5-q8jm"}],"cwes":["CWE-601"],"aliases":["GHSA-rfh5-c9h5-q8jm","PYSEC-2026-1868"],"references":[{"url":"https://github.com/reflex-dev/reflex/security/advisories/GHSA-rfh5-c9h5-q8jm","tags":["x_refsource_CONFIRM","advisory","web"]},{"url":"https://github.com/reflex-dev/reflex/commit/ade12549f3c0ddab3d7382c581bc04a3c1f989ec","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/62xxx/CVE-2025-62379.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62379","tags":["advisory"]},{"url":"https://file.notion.so/f/f/d105d145-04bc-45c5-b46c-ed880895e9de/a86c3e3b-f67f-45d1-8fa2-4aa0ba7d0068/poc.mp4?table=block&id=26955717-5d2e-805a-b53c-e25ee03f1d4b&spaceId=d105d145-04bc-45c5-b46c-ed880895e9de&expirationTimestamp=1760508000000&signature=ZPp8PVldfGOh0gB5tVElRV6GN789R-EG0oxZgkFjjLU&downloadName=poc.mp4","tags":["web"]},{"url":"https://github.com/reflex-dev/reflex","tags":["package"]},{"url":"https://github.com/reflex-dev/reflex/blob/51f9f2c2f52cac4d66c07683a12bc0237311b6be/reflex/utils/codespaces.py#L18-L46","tags":["web"]},{"url":"https://pypi.org/project/reflex","tags":["package"]},{"url":"https://github.com/advisories/GHSA-rfh5-c9h5-q8jm","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00255,"epssPercentile":0.17277,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-62379","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-62379","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-62379","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-rfh5-c9h5-q8jm","ok":true,"note":"GHSA-rfh5-c9h5-q8jm"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2025-62379","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}