toui allows user-specific variables to be shared between users
Impact
Websites that use Website.user_vars property in versions.
Patches
It affects versions v2.0.1 to v2.4.0. Please upgrade to v2.4.1
Workarounds
Do not use Website.user_vars in websites when using versions v2.0.1 to v2.4.0. Also, do not use Website.signin_user() in version v2.4.0 only.
Explanation
ToUI is using Flask-Caching (SimpleCache) to store user variables. My misunderstanding was that these caches are stored in the client's browser, but it seems that these are stored in the server side.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | toui | >= 2.0.1, < 2.4.1 | 2.4.1 |
References
- https://github.com/mubarakalmehairbi/ToUI/security/advisories/GHSA-hh7j-pg39-q563
- https://nvd.nist.gov/vuln/detail/CVE-2023-33175
- https://github.com/mubarakalmehairbi/ToUI
- https://github.com/mubarakalmehairbi/ToUI/releases/tag/v2.4.1
- https://pypi.org/project/toui
- https://github.com/advisories/GHSA-hh7j-pg39-q563
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-913, CWE-914- Platform
- Python (PyPI)
- Package
toui- Disclosed
- 24.05.2023
- Updated
- 11.10.2026 13:17
Sources and licenses
OSV / GitHub Advisory Database - GHSA-hh7j-pg39-q563 - CC BY 4.0
OSV / GitHub Advisory Database - PYSEC-2026-555 - PyPA Advisory Database; CC BY 4.0
Vulnerability history: toui
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.