You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This should be as simple as ensuring it is a valid hex UUID - this can either be accomplished using a regex, or just trying to turn it into a Python UUID and catching if it fails.
In the case that the validation fails, that means this is not a visitor_id value generated by Kolibri, so we should generate a new one. This doesn't completely resolve the security alert, but limits its impact.
We should validate the format of the visitor_id cookie before setting it, to ensure we're not storing arbitrary user supplied data.
Tracking issue for:
The text was updated successfully, but these errors were encountered: