Fix/all bugs - #3
Merged
Merged
Conversation
…oast.py 1. Missing import base64 - base64url_encode/decode use the base64 module but never imported it, causing NameError at runtime. 2. Stale CORS origin - ALLOWED_ORIGINS referenced old Vercel URL instead of current production URL, rejecting all cross-origin requests. Also covers CVE-2026-64645 (SSRF in rewrites) which is patched by next@16.3.3. App rewrite is internal only with no attacker-controlled hostname.
Pins minimum jinja2 version to 3.1.5 in both pyproject.toml and web/requirements.txt. The installed version (3.1.6) is already patched, but unpinned dependencies could allow a vulnerable version on fresh install. CVE-2024-56326: Jinja sandbox breakout through indirect reference to format method. Patched in 3.1.5. Tests: 25/25 passing Web build: OK
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.