All CVEs / Flask-session-captcha Project
CVE-2022-24880Flask-session-captcha Project Flask-session-captcha
Medium 5.3 No auth needed
Follow: this CVE · Flask-session-captcha Project · Flask-session-captcha Project Flask-session-captcha We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 70
- Auth required
- No
- Published
- Apr 25, 2022
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
What happens
flask-session-captcha is a package which allows users to extend Flask by adding an image based captcha stored in a server side session. In versions prior to 1.2.1, he `captcha.validate()` function would return `None` if passed no value (e.g. by submitting an having an empty form). If implementing users were checking the return value to be **False**, the captcha verification check could be bypassed. Version 1.2.1 fixes the issue. Users can workaround the issue by not explicitly checking that the value is False. Checking the return value less explicitly should still work.
What to do
- Apply the vendor's security update for Flask-session-captcha.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | flask-session-captcha |
< 1.2.1 |
1.2.1 |
pip install "flask-session-captcha>=1.2.1" |
| PyPI | flask-session-captcha |
< 1.2.1 |
1.2.1 |
pip install "flask-session-captcha>=1.2.1" |
Per OSV / GitHub Advisories (GHSA-7r87-cj48-wj45, PYSEC-2022-193). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| flask-session-captcha_project | flask-session-captcha | < 1.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Release Notes Third Party Advisory
- github.com Third Party Advisory