learningequality / kolibri

Kolibri Learning Platform: the offline app for universal education
https://learningequality.org/kolibri/
MIT License
811 stars 684 forks source link

Fix code scanning alert - Construction of a cookie using user-supplied input #12808

Open rtibbles opened 2 weeks ago

rtibbles commented 2 weeks ago

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: