deepsourcestatus / test-repository

Audit required: Sensitive cookie without httponly attribute PY-A6004
Security
Minor
8 months ago8 months old
Cookie can be vulnerable to Cross-Site Scripting (XSS) attack
46@app.get("/")
47def home():
48    response = flask.make_response()
49    response.set_cookie("userid", uuid4().hex)