Cross-site Request Forgery (CSRF) Affecting flask-wtf package, versions [,0.9.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Request Forgery (CSRF) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-FLASKWTF-2309917
  • published8 Dec 2021
  • disclosed6 Dec 2021
  • creditUnknown

Introduced: 6 Dec 2021

CVE NOT AVAILABLE CWE-352  (opens in a new tab)

How to fix?

Upgrade flask-wtf to version 0.9.5 or higher.

Overview

flask-wtf is an integration of Flask and WTForms, including CSRF, file upload, and reCAPTCHA.

Affected versions of this package are vulnerable to Cross-site Request Forgery (CSRF) because of missing CSRF tokens on all of the templates excluding Jinja2.

References

CVSS Base Scores

version 3.1