Live threats

All CVEs / Flask-session-captcha Project

CVE-2022-24880Flask-session-captcha Project Flask-session-captcha

Medium 5.3 No auth needed

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
Weakness (CWE)
CWE-253, CWE-394, CWE-754
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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Flask-session-captcha.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
flask-session-captcha_projectflask-session-captcha< 1.2.1

Official sources

References

Links published by the sources. Open them with care.