{"answers":{"affected":"3 open source packages ship an affected version, including reflex.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62379 exists.","fix":"No fix has been published for CVE-2025-62379 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-62379 is a low-severity vulnerability in reflex-dev reflex, published on 15 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-62379 and fix it if it is affected.\n\nWhat it is: CVE-2025-62379 is a low-severity vulnerability in reflex-dev reflex, published on 15 Oct 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-62379 exists.\n\nAffected packages and fixed versions:\n- reflex (PyPI): affected from 0.5.4 up to 0.8.14; no fix listed\n- reflex (PyPI): affected from 0.5.4 up to 0.8.14; no fix listed\n- reflex (PyPI): affected from 0.5.4 up to 0.8.14; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-62379/ (Markdown: https://insights.sbomify.com/CVE-2025-62379/index.md)","id":"CVE-2025-62379","markdown":"https://insights.sbomify.com/CVE-2025-62379/index.md","name":"CVE-2025-62379","record":{"aliases":["GHSA-rfh5-c9h5-q8jm","PYSEC-2026-1868"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Python web framework","requires_auth":"none","summary":"Attackers can redirect users to malicious sites via the auth-codespace endpoint in Reflex when Codespaces environment variables are set.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":3.1,"severity":"low","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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 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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"Open Redirect in reflex-dev/reflex","id":"CVE-2025-62379","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"open_redirect","year":"2025"},"n_packages":3,"n_references":2,"next":{"headline":"Mailgen has HTML Injection and XSS Filter Bypass in Plaintext Emails","id":"CVE-2025-62380"},"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0.5.4"],"last_affected":["0.8.14"],"package":"reflex","purl":null,"source":"GHSA-rfh5-c9h5-q8jm"},{"ecosystem":"PyPI","fixed":[],"introduced":["0.5.4"],"last_affected":["0.8.14"],"package":"reflex","purl":"pkg:pypi/reflex","source":"GHSA-rfh5-c9h5-q8jm"},{"ecosystem":"PyPI","fixed":[],"introduced":["0.5.4"],"last_affected":["0.8.14"],"package":"reflex","purl":"pkg:pypi/reflex","source":"PYSEC-2026-1868"}],"prev":{"headline":"CommandKit exposes incorrect command name in context object for message command aliases","id":"CVE-2025-62378"},"products":["reflex"],"published":"2025-10-15","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-10-15","vendors":["reflex-dev"]},"summary":"Attackers can redirect users to malicious sites via the auth-codespace endpoint in Reflex when Codespaces environment variables are set.","url":"https://insights.sbomify.com/CVE-2025-62379/"}